pub enum LoadedFontData {
Binary(Vec<u8>),
Standard(StandardFont),
}Variants§
Binary(Vec<u8>)
Standard(StandardFont)
Trait Implementations§
Source§impl Clone for LoadedFontData
impl Clone for LoadedFontData
Source§fn clone(&self) -> LoadedFontData
fn clone(&self) -> LoadedFontData
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 LoadedFontData
impl Debug for LoadedFontData
Source§impl PartialEq for LoadedFontData
impl PartialEq for LoadedFontData
Source§fn eq(&self, other: &LoadedFontData) -> bool
fn eq(&self, other: &LoadedFontData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LoadedFontData
impl StructuralPartialEq for LoadedFontData
Auto Trait Implementations§
impl Freeze for LoadedFontData
impl RefUnwindSafe for LoadedFontData
impl Send for LoadedFontData
impl Sync for LoadedFontData
impl Unpin for LoadedFontData
impl UnsafeUnpin for LoadedFontData
impl UnwindSafe for LoadedFontData
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