#[repr(u8)]pub enum ClosureUnit {
Millimeter = 0,
Degree = 1,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ClosureUnit
impl Clone for ClosureUnit
Source§fn clone(&self) -> ClosureUnit
fn clone(&self) -> ClosureUnit
Returns a duplicate 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 ClosureUnit
impl Debug for ClosureUnit
Source§impl<'de> Deserialize<'de> for ClosureUnit
impl<'de> Deserialize<'de> for ClosureUnit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ClosureUnit> for u8
impl From<ClosureUnit> for u8
Source§fn from(val: ClosureUnit) -> Self
fn from(val: ClosureUnit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ClosureUnit
impl PartialEq for ClosureUnit
Source§impl Serialize for ClosureUnit
impl Serialize for ClosureUnit
impl Copy for ClosureUnit
impl Eq for ClosureUnit
impl StructuralPartialEq for ClosureUnit
Auto Trait Implementations§
impl Freeze for ClosureUnit
impl RefUnwindSafe for ClosureUnit
impl Send for ClosureUnit
impl Sync for ClosureUnit
impl Unpin for ClosureUnit
impl UnwindSafe for ClosureUnit
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