Struct write_fonts::tables::name::Name
source · pub struct Name {
pub name_record: BTreeSet<NameRecord>,
pub lang_tag_record: Option<Vec<LangTagRecord>>,
}Expand description
Fields§
§name_record: BTreeSet<NameRecord>The name records where count is the number of records.
lang_tag_record: Option<Vec<LangTagRecord>>The language-tag records where langTagCount is the number of records.
Implementations§
Trait Implementations§
source§impl FontWrite for Name
impl FontWrite for Name
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
fn name(&self) -> &'static str
Auto Trait Implementations§
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.