pub struct RankedWarId(pub i32);
Tuple Fields§
§0: i32
Implementations§
Source§impl RankedWarId
impl RankedWarId
Trait Implementations§
Source§impl Clone for RankedWarId
impl Clone for RankedWarId
Source§fn clone(&self) -> RankedWarId
fn clone(&self) -> RankedWarId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RankedWarId
impl Debug for RankedWarId
Source§impl<'de> Deserialize<'de> for RankedWarId
impl<'de> Deserialize<'de> for RankedWarId
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 Display for RankedWarId
impl Display for RankedWarId
Source§impl From<RankedWarId> for Id
impl From<RankedWarId> for Id
Source§fn from(value: RankedWarId) -> Self
fn from(value: RankedWarId) -> Self
Converts to this type from the input type.
Source§impl From<RankedWarId> for i32
impl From<RankedWarId> for i32
Source§fn from(outer: RankedWarId) -> Self
fn from(outer: RankedWarId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for RankedWarId
impl From<i32> for RankedWarId
Source§impl Hash for RankedWarId
impl Hash for RankedWarId
Source§impl Ord for RankedWarId
impl Ord for RankedWarId
Source§fn cmp(&self, other: &RankedWarId) -> Ordering
fn cmp(&self, other: &RankedWarId) -> Ordering
1.21.0 · 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 PartialEq for RankedWarId
impl PartialEq for RankedWarId
Source§impl PartialOrd for RankedWarId
impl PartialOrd for RankedWarId
impl Copy for RankedWarId
impl Eq for RankedWarId
impl StructuralPartialEq for RankedWarId
Auto Trait Implementations§
impl Freeze for RankedWarId
impl RefUnwindSafe for RankedWarId
impl Send for RankedWarId
impl Sync for RankedWarId
impl Unpin for RankedWarId
impl UnwindSafe for RankedWarId
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