pub enum Unitsize {
Big,
Small,
}
Expand description
A Unitsize is so the user can choose to enter different unit sizes (e.g. km vs meter).
Variants§
Trait Implementations§
source§impl Ord for Unitsize
impl Ord for Unitsize
source§impl PartialEq<Unitsize> for Unitsize
impl PartialEq<Unitsize> for Unitsize
source§impl PartialOrd<Unitsize> for Unitsize
impl PartialOrd<Unitsize> for Unitsize
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 Unitsize
impl Eq for Unitsize
impl StructuralEq for Unitsize
impl StructuralPartialEq for Unitsize
Auto Trait Implementations§
impl RefUnwindSafe for Unitsize
impl Send for Unitsize
impl Sync for Unitsize
impl Unpin for Unitsize
impl UnwindSafe for Unitsize
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> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.