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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for UnitTypeId
Source§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
impl Eq for UnitTypeId
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 (const: unstable) · 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§fn eq(&self, other: &UnitTypeId) -> bool
fn eq(&self, other: &UnitTypeId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UnitTypeId
impl PartialOrd for UnitTypeId
Source§impl Serialize for UnitTypeId
impl Serialize 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 UnsafeUnpin 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