Struct swash::FontDataRef [−][src]
pub struct FontDataRef<'a> { /* fields omitted */ }
Expand description
Reference to the content of a font file.
Implementations
Creates font data from the specified bytes. Returns None
if the bytes
cannot trivially be determined to represent a font.
Returns true if the data represents a font collection.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for FontDataRef<'a>
impl<'a> Send for FontDataRef<'a>
impl<'a> Sync for FontDataRef<'a>
impl<'a> Unpin for FontDataRef<'a>
impl<'a> UnwindSafe for FontDataRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more