pub struct Alias<T> { /* private fields */ }Implementations§
Trait Implementations§
impl<T> Copy for Alias<T>
Source§impl<'de, T> Deserialize<'de> for Alias<T>
impl<'de, T> Deserialize<'de> for Alias<T>
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<T> Eq for Alias<T>
Source§impl<T> Ord for Alias<T>
impl<T> Ord for Alias<T>
Source§fn cmp(&self, other: &Self) -> CmpOrdering
fn cmp(&self, other: &Self) -> CmpOrdering
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<T> PartialOrd for Alias<T>
impl<T> PartialOrd for Alias<T>
Auto Trait Implementations§
impl<T> Freeze for Alias<T>
impl<T> RefUnwindSafe for Alias<T>where
T: RefUnwindSafe,
impl<T> Send for Alias<T>where
T: Send,
impl<T> Sync for Alias<T>where
T: Sync,
impl<T> Unpin for Alias<T>where
T: Unpin,
impl<T> UnsafeUnpin for Alias<T>
impl<T> UnwindSafe for Alias<T>where
T: UnwindSafe,
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