pub enum FontType<'a> {
TrueType,
OpenType,
Type1,
Bitmap,
Custom(&'a str),
}
Expand description
The font file type.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FontType<'a>
impl<'a> RefUnwindSafe for FontType<'a>
impl<'a> Send for FontType<'a>
impl<'a> Sync for FontType<'a>
impl<'a> Unpin for FontType<'a>
impl<'a> UnwindSafe for FontType<'a>
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