pub struct UnknownUnit;
Expand description
The default unit.
Trait Implementations§
source§impl Clone for UnknownUnit
impl Clone for UnknownUnit
source§fn clone(&self) -> UnknownUnit
fn clone(&self) -> UnknownUnit
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 UnknownUnit
impl Debug for UnknownUnit
source§impl Default for UnknownUnit
impl Default for UnknownUnit
source§fn default() -> UnknownUnit
fn default() -> UnknownUnit
Returns the “default value” for a type. Read more
source§impl Hash for UnknownUnit
impl Hash for UnknownUnit
source§impl Ord for UnknownUnit
impl Ord for UnknownUnit
source§fn cmp(&self, other: &UnknownUnit) -> Ordering
fn cmp(&self, other: &UnknownUnit) -> 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 UnknownUnit
impl PartialEq for UnknownUnit
source§impl PartialOrd for UnknownUnit
impl PartialOrd for UnknownUnit
impl Copy for UnknownUnit
impl Eq for UnknownUnit
impl StructuralPartialEq for UnknownUnit
Auto Trait Implementations§
impl Freeze for UnknownUnit
impl RefUnwindSafe for UnknownUnit
impl Send for UnknownUnit
impl Sync for UnknownUnit
impl Unpin for UnknownUnit
impl UnwindSafe for UnknownUnit
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)