pub enum FontDirective {
Closure(FontClosure),
Asset(Rc<Font>),
}Variants§
Closure(FontClosure)
Asset(Rc<Font>)
Implementations§
Trait Implementations§
Source§impl Clone for FontDirective
impl Clone for FontDirective
Source§fn clone(&self) -> FontDirective
fn clone(&self) -> FontDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FontDirective
impl Debug for FontDirective
Source§impl From<Font> for FontDirective
impl From<Font> for FontDirective
Auto Trait Implementations§
impl !RefUnwindSafe for FontDirective
impl !Send for FontDirective
impl !Sync for FontDirective
impl !UnwindSafe for FontDirective
impl Freeze for FontDirective
impl Unpin for FontDirective
impl UnsafeUnpin for FontDirective
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