pub struct RaceTrackId(pub i32);
Tuple Fields§
§0: i32
Implementations§
Source§impl RaceTrackId
impl RaceTrackId
Trait Implementations§
Source§impl Clone for RaceTrackId
impl Clone for RaceTrackId
Source§fn clone(&self) -> RaceTrackId
fn clone(&self) -> RaceTrackId
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 RaceTrackId
impl Debug for RaceTrackId
Source§impl<'de> Deserialize<'de> for RaceTrackId
impl<'de> Deserialize<'de> for RaceTrackId
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 RaceTrackId
impl Display for RaceTrackId
Source§impl From<RaceTrackId> for Id
impl From<RaceTrackId> for Id
Source§fn from(value: RaceTrackId) -> Self
fn from(value: RaceTrackId) -> Self
Converts to this type from the input type.
Source§impl From<RaceTrackId> for i32
impl From<RaceTrackId> for i32
Source§fn from(outer: RaceTrackId) -> Self
fn from(outer: RaceTrackId) -> Self
Converts to this type from the input type.
Source§impl From<i32> for RaceTrackId
impl From<i32> for RaceTrackId
Source§impl Hash for RaceTrackId
impl Hash for RaceTrackId
Source§impl Ord for RaceTrackId
impl Ord for RaceTrackId
Source§fn cmp(&self, other: &RaceTrackId) -> Ordering
fn cmp(&self, other: &RaceTrackId) -> 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 RaceTrackId
impl PartialEq for RaceTrackId
Source§impl PartialOrd for RaceTrackId
impl PartialOrd for RaceTrackId
impl Copy for RaceTrackId
impl Eq for RaceTrackId
impl StructuralPartialEq for RaceTrackId
Auto Trait Implementations§
impl Freeze for RaceTrackId
impl RefUnwindSafe for RaceTrackId
impl Send for RaceTrackId
impl Sync for RaceTrackId
impl Unpin for RaceTrackId
impl UnwindSafe for RaceTrackId
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