Struct euclid::UnknownUnit
source · 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§fn eq(&self, other: &UnknownUnit) -> bool
fn eq(&self, other: &UnknownUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for UnknownUnit
impl PartialOrd for UnknownUnit
source§fn partial_cmp(&self, other: &UnknownUnit) -> Option<Ordering>
fn partial_cmp(&self, other: &UnknownUnit) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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