Struct zng_layout::unit::euclid::UnknownUnit
pub struct UnknownUnit;
Expand description
The default unit.
Trait Implementations§
§impl Clone for UnknownUnit
impl Clone for UnknownUnit
§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 more§impl Debug for UnknownUnit
impl Debug for UnknownUnit
§impl Default for UnknownUnit
impl Default for UnknownUnit
§fn default() -> UnknownUnit
fn default() -> UnknownUnit
Returns the “default value” for a type. Read more
§impl Hash for UnknownUnit
impl Hash for UnknownUnit
§impl Ord for UnknownUnit
impl Ord for UnknownUnit
§impl PartialEq for UnknownUnit
impl PartialEq for UnknownUnit
§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 ==
.§impl PartialOrd for UnknownUnit
impl PartialOrd for UnknownUnit
§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> AnyVarValue for Twhere
T: VarValue,
impl<T> AnyVarValue for Twhere
T: VarValue,
source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Access to mut
dyn Any
methods.source§fn clone_boxed(&self) -> Box<dyn AnyVarValue>
fn clone_boxed(&self) -> Box<dyn AnyVarValue>
Clone the value.
source§fn clone_boxed_var(&self) -> Box<dyn AnyVar>
fn clone_boxed_var(&self) -> Box<dyn AnyVar>
Clone the value into a new boxed
LocalVar<Self>
.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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more