#[non_exhaustive]pub struct NameTableRepr {
pub version: uint16,
pub count: uint16,
pub storage_offset: Offset16,
/* private fields */
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: uint16§count: uint16§storage_offset: Offset16Implementations§
Source§impl NameTableRepr
impl NameTableRepr
pub const fn name_records(&self) -> &[NameRecordRepr]
pub const fn names(&self) -> NamesIter<'_> ⓘ
pub const fn lang_tag_records(&self) -> &[LangTagRecordRepr]
pub const fn string_storage(&self) -> &StringStorage
Trait Implementations§
Source§impl Debug for NameTableRepr
impl Debug for NameTableRepr
Source§impl Table for NameTableRepr
impl Table for NameTableRepr
const TAG: Tag = tags::name
type Handle<'a> = &'a NameTableRepr
fn in_directory(dir: &TableDirectoryRepr) -> Option<Self::Handle<'_>>
Auto Trait Implementations§
impl Freeze for NameTableRepr
impl RefUnwindSafe for NameTableRepr
impl Send for NameTableRepr
impl Sync for NameTableRepr
impl Unpin for NameTableRepr
impl UnsafeUnpin for NameTableRepr
impl UnwindSafe for NameTableRepr
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