pub enum TextSize {
Normal,
Large,
}Expand description
Whether text is “large” per WCAG definitions.
Large text: ≥18pt (24px) normal weight, or ≥14pt (18.66px) bold.
Variants§
Trait Implementations§
impl Copy for TextSize
impl StructuralPartialEq for TextSize
Auto Trait Implementations§
impl Freeze for TextSize
impl RefUnwindSafe for TextSize
impl Send for TextSize
impl Sync for TextSize
impl Unpin for TextSize
impl UnsafeUnpin for TextSize
impl UnwindSafe for TextSize
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