pub enum Font<'a, 'b> {
System(&'a str),
File(&'a Path, &'b str),
Memory(&'a [u8], &'b str),
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b> RefUnwindSafe for Font<'a, 'b>
impl<'a, 'b> Send for Font<'a, 'b>
impl<'a, 'b> Sync for Font<'a, 'b>
impl<'a, 'b> Unpin for Font<'a, 'b>
impl<'a, 'b> UnwindSafe for Font<'a, 'b>
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