pub enum Size {
Small,
Medium,
Large,
}Expand description
Standard size scale used by sized components.
Variants§
Implementations§
Source§impl Size
impl Size
pub fn input_height(&self, m: &ThemeMetrics) -> f32
pub fn font_size(&self, m: &ThemeMetrics) -> f32
Trait Implementations§
impl Copy for Size
impl Eq for Size
impl StructuralPartialEq for Size
Auto Trait Implementations§
impl Freeze for Size
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnsafeUnpin for Size
impl UnwindSafe for Size
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