#[repr(transparent)]pub struct BattleId(pub u32);Tuple Fields§
§0: u32Trait Implementations§
source§impl Ord for BattleId
impl Ord for BattleId
source§impl PartialEq<BattleId> for BattleId
impl PartialEq<BattleId> for BattleId
source§impl PartialOrd<BattleId> for BattleId
impl PartialOrd<BattleId> for BattleId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for BattleId
impl Eq for BattleId
impl StructuralEq for BattleId
impl StructuralPartialEq for BattleId
Auto Trait Implementations§
impl RefUnwindSafe for BattleId
impl Send for BattleId
impl Sync for BattleId
impl Unpin for BattleId
impl UnwindSafe for BattleId
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