pub struct UnitTypeID(/* private fields */);
Expand description
An ID identifying a unit type.
Trait Implementations§
Source§impl Clone for UnitTypeID
impl Clone for UnitTypeID
Source§fn clone(&self) -> UnitTypeID
fn clone(&self) -> UnitTypeID
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 UnitTypeID
impl Debug for UnitTypeID
Source§impl Default for UnitTypeID
impl Default for UnitTypeID
Source§fn default() -> UnitTypeID
fn default() -> UnitTypeID
Returns the “default value” for a type. Read more
Source§impl From<UnitTypeID> for i32
impl From<UnitTypeID> for i32
Source§fn from(n: UnitTypeID) -> Self
fn from(n: UnitTypeID) -> Self
Converts to this type from the input type.
Source§impl From<UnitTypeID> for u16
impl From<UnitTypeID> for u16
Source§fn from(n: UnitTypeID) -> Self
fn from(n: UnitTypeID) -> Self
Converts to this type from the input type.
Source§impl From<UnitTypeID> for u32
impl From<UnitTypeID> for u32
Source§fn from(n: UnitTypeID) -> Self
fn from(n: UnitTypeID) -> Self
Converts to this type from the input type.
Source§impl From<UnitTypeID> for usize
impl From<UnitTypeID> for usize
Source§fn from(n: UnitTypeID) -> Self
fn from(n: UnitTypeID) -> Self
Converts to this type from the input type.
Source§impl From<u16> for UnitTypeID
impl From<u16> for UnitTypeID
Source§impl Hash for UnitTypeID
impl Hash for UnitTypeID
Source§impl PartialEq for UnitTypeID
impl PartialEq for UnitTypeID
Source§impl TryFrom<UnitTypeID> for i16
impl TryFrom<UnitTypeID> for i16
Source§type Error = TryFromIntError
type Error = TryFromIntError
The type returned in the event of a conversion error.
Source§impl TryFrom<i16> for UnitTypeID
impl TryFrom<i16> for UnitTypeID
Source§impl TryFrom<i32> for UnitTypeID
impl TryFrom<i32> for UnitTypeID
Source§impl TryFrom<u32> for UnitTypeID
impl TryFrom<u32> for UnitTypeID
impl Copy for UnitTypeID
impl Eq for UnitTypeID
impl StructuralPartialEq for UnitTypeID
Auto Trait Implementations§
impl Freeze for UnitTypeID
impl RefUnwindSafe for UnitTypeID
impl Send for UnitTypeID
impl Sync for UnitTypeID
impl Unpin for UnitTypeID
impl UnwindSafe for UnitTypeID
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