pub struct Localized<'a> {
name: Encoded<'a>,
language: Option<Encoded<'a>>,
sfnt_record: Option<NameRecord>,
}Expand description
A font name and its optional BCP 47 language tag.
The language is None when the source supplies no recognized language or
when the name comes from a Type 1 or standalone CFF font.
Fields§
§name: Encoded<'a>§language: Option<Encoded<'a>>§sfnt_record: Option<NameRecord>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Localized<'a>
impl<'a> RefUnwindSafe for Localized<'a>
impl<'a> Send for Localized<'a>
impl<'a> Sync for Localized<'a>
impl<'a> Unpin for Localized<'a>
impl<'a> UnsafeUnpin for Localized<'a>
impl<'a> UnwindSafe for Localized<'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