Struct euclid::UnknownUnit
source · [−]pub struct UnknownUnit;
Expand description
The default unit.
Trait Implementations
sourceimpl Clone for UnknownUnit
impl Clone for UnknownUnit
sourcefn clone(&self) -> UnknownUnit
fn clone(&self) -> UnknownUnit
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnknownUnit
impl Debug for UnknownUnit
sourceimpl Default for UnknownUnit
impl Default for UnknownUnit
sourcefn default() -> UnknownUnit
fn default() -> UnknownUnit
Returns the “default value” for a type. Read more
sourceimpl Hash for UnknownUnit
impl Hash for UnknownUnit
sourceimpl Ord for UnknownUnit
impl Ord for UnknownUnit
sourceimpl PartialEq<UnknownUnit> for UnknownUnit
impl PartialEq<UnknownUnit> for UnknownUnit
sourceimpl PartialOrd<UnknownUnit> for UnknownUnit
impl PartialOrd<UnknownUnit> for UnknownUnit
sourcefn partial_cmp(&self, other: &UnknownUnit) -> Option<Ordering>
fn partial_cmp(&self, other: &UnknownUnit) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for UnknownUnit
impl Eq for UnknownUnit
impl StructuralEq for UnknownUnit
impl StructuralPartialEq for UnknownUnit
Auto Trait Implementations
impl RefUnwindSafe for UnknownUnit
impl Send for UnknownUnit
impl Sync for UnknownUnit
impl Unpin for UnknownUnit
impl UnwindSafe for UnknownUnit
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more