pub enum FontSize {
}Expand description
Font size values
Variants§
Px(u32)
Pixel values
Percent(f32)
Percentage values
Em(f32)
Em values (relative to font size)
Rem(f32)
Rem values (relative to root font size)
Smaller
Smaller than parent
Larger
Larger than parent
XxSmall
Absolute size keywords
XSmall
Small
Medium
Large
XLarge
XxLarge
Calc(String)
Calculated value
Var(CssVar)
CSS variable
Trait Implementations§
impl StructuralPartialEq for FontSize
Auto Trait Implementations§
impl Freeze for FontSize
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