pub struct UnitTypeId(/* private fields */);
Expand description
Unit type
Implementations§
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<'de> Deserialize<'de> for UnitTypeId
impl<'de> Deserialize<'de> for UnitTypeId
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 Hash for UnitTypeId
impl Hash for UnitTypeId
Source§impl Ord for UnitTypeId
impl Ord for UnitTypeId
Source§fn cmp(&self, other: &UnitTypeId) -> Ordering
fn cmp(&self, other: &UnitTypeId) -> 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 UnitTypeId
impl PartialEq for UnitTypeId
Source§impl PartialOrd for UnitTypeId
impl PartialOrd for UnitTypeId
Source§impl Serialize for UnitTypeId
impl Serialize 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