pub enum SizeClass {
Small,
Medium,
Large,
}Expand description
Represent Object’s size
- Small fit inside a line
- Medium more than one line but small than block
- Large span multiple blocks
Variants§
Implementations§
Trait Implementations§
source§impl PartialEq for SizeClass
impl PartialEq for SizeClass
impl Copy for SizeClass
impl StructuralPartialEq for SizeClass
Auto Trait Implementations§
impl Freeze for SizeClass
impl RefUnwindSafe for SizeClass
impl Send for SizeClass
impl Sync for SizeClass
impl Unpin for SizeClass
impl UnwindSafe for SizeClass
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