pub struct EffectId(pub u32);Expand description
An effect identifier. The engine treats it opaquely; the game assigns ids to
moves/statuses/volatiles. Used as the binary-search key into the
EffectState arena and to address handler source_effect.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for EffectId
impl Eq for EffectId
Source§impl Ord for EffectId
impl Ord for EffectId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EffectId
impl PartialOrd for EffectId
impl StructuralPartialEq for EffectId
Auto Trait Implementations§
impl Freeze for EffectId
impl RefUnwindSafe for EffectId
impl Send for EffectId
impl Sync for EffectId
impl Unpin for EffectId
impl UnsafeUnpin for EffectId
impl UnwindSafe for EffectId
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