pub struct TroopPageCondition {
pub actor_id: i32,
pub turn_a: i32,
pub turn_valid: bool,
pub enemy_hp: i32,
pub switch_valid: bool,
pub switch_id: i32,
pub enemy_index: i32,
pub actor_valid: bool,
pub actor_hp: i32,
pub turn_b: i32,
pub enemy_valid: bool,
}
Fields§
§actor_id: i32
§turn_a: i32
§turn_valid: bool
§enemy_hp: i32
§switch_valid: bool
§switch_id: i32
§enemy_index: i32
§actor_valid: bool
§actor_hp: i32
§turn_b: i32
§enemy_valid: bool
Trait Implementations§
source§impl Debug for TroopPageCondition
impl Debug for TroopPageCondition
source§impl<'de> Deserialize<'de> for TroopPageCondition
impl<'de> Deserialize<'de> for TroopPageCondition
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 TroopPageCondition
impl<'a> FromValue<'a> for TroopPageCondition
source§fn from_value(
ctx: &FromValueContext<'_>,
value: &'a Value,
) -> Result<Self, FromValueError>
fn from_value( ctx: &FromValueContext<'_>, value: &'a Value, ) -> Result<Self, FromValueError>
Create this type from the given value from the [
ValueArena
]. Read moresource§impl IntoValue for TroopPageCondition
impl IntoValue for TroopPageCondition
source§fn into_value(
self,
arena: &mut ValueArena,
) -> Result<ValueHandle, IntoValueError>
fn into_value( self, arena: &mut ValueArena, ) -> Result<ValueHandle, IntoValueError>
Turn this type into a Ruby Value.
Auto Trait Implementations§
impl Freeze for TroopPageCondition
impl RefUnwindSafe for TroopPageCondition
impl Send for TroopPageCondition
impl Sync for TroopPageCondition
impl Unpin for TroopPageCondition
impl UnwindSafe for TroopPageCondition
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more