Struct rpgmxp_types::system::System

source ·
pub struct System {
Show 36 fields pub variables: Vec<Option<String>>, pub cancel_se: AudioFile, pub magic_number: i32, pub escape_se: AudioFile, pub battle_end_me: AudioFile, pub start_map_id: i32, pub shop_se: AudioFile, pub gameover_name: String, pub words: SystemWords, pub switches: Vec<Option<String>>, pub decision_se: AudioFile, pub edit_map_id: i32, pub battle_start_se: AudioFile, pub battle_bgm: AudioFile, pub test_troop_id: i32, pub equip_se: AudioFile, pub title_name: String, pub enemy_collapse_se: AudioFile, pub cursor_se: AudioFile, pub elements: Vec<String>, pub underscore: i32, pub start_y: i32, pub battler_hue: i32, pub load_se: AudioFile, pub title_bgm: AudioFile, pub buzzer_se: AudioFile, pub windowskin_name: String, pub test_battlers: Vec<SystemTestBattler>, pub battleback_name: String, pub party_members: Vec<i32>, pub actor_collapse_se: AudioFile, pub gameover_me: AudioFile, pub battler_name: String, pub save_se: AudioFile, pub battle_transition: String, pub start_x: i32,
}

Fields§

§variables: Vec<Option<String>>§cancel_se: AudioFile§magic_number: i32§escape_se: AudioFile§battle_end_me: AudioFile§start_map_id: i32§shop_se: AudioFile§gameover_name: String§words: SystemWords§switches: Vec<Option<String>>§decision_se: AudioFile§edit_map_id: i32§battle_start_se: AudioFile§battle_bgm: AudioFile§test_troop_id: i32§equip_se: AudioFile§title_name: String§enemy_collapse_se: AudioFile§cursor_se: AudioFile§elements: Vec<String>§underscore: i32§start_y: i32§battler_hue: i32§load_se: AudioFile§title_bgm: AudioFile§buzzer_se: AudioFile§windowskin_name: String§test_battlers: Vec<SystemTestBattler>§battleback_name: String§party_members: Vec<i32>§actor_collapse_se: AudioFile§gameover_me: AudioFile§battler_name: String§save_se: AudioFile§battle_transition: String§start_x: i32

Trait Implementations§

source§

impl Debug for System

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for System

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl<'a> FromValue<'a> for System

source§

fn from_value( ctx: &FromValueContext<'a>, value: &Value, ) -> Result<Self, FromValueError>

Create this type from the given value from the [ValueArena]. Read more
source§

impl IntoValue for System

source§

fn into_value( self, arena: &mut ValueArena, ) -> Result<ValueHandle, IntoValueError>

Turn this type into a Ruby Value.
source§

impl Serialize for System

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for System

§

impl RefUnwindSafe for System

§

impl Send for System

§

impl Sync for System

§

impl Unpin for System

§

impl UnwindSafe for System

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,