pub enum Font<'a, Opts> {
Name(&'a str),
System(&'a str),
Family {
family: &'a str,
size: Option<c_int>,
styles: &'a [Style],
},
XFont(&'a str),
Opts(Opts),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a, Opts> RefUnwindSafe for Font<'a, Opts>where Opts: RefUnwindSafe,
impl<'a, Opts> Send for Font<'a, Opts>where Opts: Send,
impl<'a, Opts> Sync for Font<'a, Opts>where Opts: Sync,
impl<'a, Opts> Unpin for Font<'a, Opts>where Opts: Unpin,
impl<'a, Opts> UnwindSafe for Font<'a, Opts>where Opts: UnwindSafe,
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