pub enum Metadata<'a> {
ScriptLangTags(VarLenArray<'a, ScriptLangTag<'a>>),
Other(&'a [u8]),
}
Expand description
Data stored in the ‘meta’ table.
Variants§
ScriptLangTags(VarLenArray<'a, ScriptLangTag<'a>>)
Used for the ‘dlng’ and ‘slng’ metadata
Other(&'a [u8])
Other metadata, which may exist in certain apple fonts
Trait Implementations§
Source§impl<'a> FontReadWithArgs<'a> for Metadata<'a>
impl<'a> FontReadWithArgs<'a> for Metadata<'a>
Auto Trait Implementations§
impl<'a> Freeze for Metadata<'a>
impl<'a> RefUnwindSafe for Metadata<'a>
impl<'a> !Send for Metadata<'a>
impl<'a> !Sync for Metadata<'a>
impl<'a> Unpin for Metadata<'a>
impl<'a> UnwindSafe for Metadata<'a>
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