pub struct LoadedFont { /* private fields */ }Implementations§
Source§impl LoadedFont
impl LoadedFont
pub fn descriptor(&self) -> &FontDescriptor
pub const fn source(&self) -> &FontSource
pub fn data(&self) -> &LoadedFontData
pub fn bytes(&self) -> Option<&[u8]>
pub fn standard_font(&self) -> Option<StandardFont>
Trait Implementations§
Source§impl Clone for LoadedFont
impl Clone for LoadedFont
Source§fn clone(&self) -> LoadedFont
fn clone(&self) -> LoadedFont
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 LoadedFont
impl Debug for LoadedFont
Source§impl PartialEq for LoadedFont
impl PartialEq for LoadedFont
Source§fn eq(&self, other: &LoadedFont) -> bool
fn eq(&self, other: &LoadedFont) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LoadedFont
impl StructuralPartialEq for LoadedFont
Auto Trait Implementations§
impl Freeze for LoadedFont
impl RefUnwindSafe for LoadedFont
impl Send for LoadedFont
impl Sync for LoadedFont
impl Unpin for LoadedFont
impl UnsafeUnpin for LoadedFont
impl UnwindSafe for LoadedFont
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