pub enum FontSize {
Small,
Medium,
Large,
Custom(u32),
}Expand description
Font size preset for the overlay text.
Variants§
Small
Small (suitable for monitoring).
Medium
Medium (general purpose).
Large
Large (visible on small screens).
Custom(u32)
Custom pixel height.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FontSize
impl<'de> Deserialize<'de> for FontSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for FontSize
impl Eq for FontSize
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 UnsafeUnpin 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