pub enum FontFamily {
Default,
Custom(String),
}
Expand description
Represents the desired font family of a badge
Variants§
Default
Uses a font family provided by this crate, comprised of Verdana, Geneva DejaVu Sans, and sans-serif.
Custom(String)
Uses a provided string as the font family for rendering the badge.
Auto Trait Implementations§
impl Freeze for FontFamily
impl RefUnwindSafe for FontFamily
impl Send for FontFamily
impl Sync for FontFamily
impl Unpin for FontFamily
impl UnwindSafe for FontFamily
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