pub enum FontSize {
VeryTiny,
Tiny,
Small,
Normal,
Large,
Huge,
VeryHuge,
Smaller,
Larger,
}
Expand description
Enumeration over all avaliable font sizes
Variants§
VeryTiny
Very tiny font size, corresponsds to xx-small
Tiny
Tiny font size, corresponds to x-small
Small
Small font size, corresponds to small
Normal
Normal font size (default), corresponds to medium
Large
Large font size, corresponds to large
Huge
Huge font size, corresponds to x-large
VeryHuge
Very huge font size, corresponds to xx-large
Smaller
Relative font size, makes content smaller than the parent
Larger
Relative font size, makes content larger than the parent
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FontSize
impl Send for FontSize
impl Sync for FontSize
impl Unpin for FontSize
impl UnwindSafe for FontSize
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