pub enum SmallMediumLarge {
Small,
Medium,
Large,
}Expand description
“small” | “medium” | “large”
Variants§
Trait Implementations§
Source§impl Clone for SmallMediumLarge
impl Clone for SmallMediumLarge
Source§fn clone(&self) -> SmallMediumLarge
fn clone(&self) -> SmallMediumLarge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SmallMediumLarge
Source§impl Debug for SmallMediumLarge
impl Debug for SmallMediumLarge
impl Eq for SmallMediumLarge
Source§impl PartialEq for SmallMediumLarge
impl PartialEq for SmallMediumLarge
Source§fn eq(&self, other: &SmallMediumLarge) -> bool
fn eq(&self, other: &SmallMediumLarge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SmallMediumLarge
Auto Trait Implementations§
impl Freeze for SmallMediumLarge
impl RefUnwindSafe for SmallMediumLarge
impl Send for SmallMediumLarge
impl Sync for SmallMediumLarge
impl Unpin for SmallMediumLarge
impl UnsafeUnpin for SmallMediumLarge
impl UnwindSafe for SmallMediumLarge
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