Struct read_fonts::layout::LangSysRecord
source · [−]#[repr(C)]#[repr(packed)]pub struct LangSysRecord {
pub lang_sys_tag: BigEndian<Tag>,
pub lang_sys_offset: BigEndian<Offset16>,
}Fields
lang_sys_tag: BigEndian<Tag>4-byte LangSysTag identifier
lang_sys_offset: BigEndian<Offset16>Offset to LangSys table, from beginning of Script table
Implementations
sourceimpl LangSysRecord
impl LangSysRecord
sourcepub fn lang_sys_tag(&self) -> Tag
pub fn lang_sys_tag(&self) -> Tag
4-byte LangSysTag identifier
sourcepub fn lang_sys_offset(&self) -> Offset16
pub fn lang_sys_offset(&self) -> Offset16
Offset to LangSys table, from beginning of Script table
Trait Implementations
sourceimpl Clone for LangSysRecord
impl Clone for LangSysRecord
sourcefn clone(&self) -> LangSysRecord
fn clone(&self) -> LangSysRecord
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for LangSysRecord
impl Debug for LangSysRecord
sourceimpl FixedSize for LangSysRecord
impl FixedSize for LangSysRecord
sourceconst RAW_BYTE_LEN: usize = 6usize
const RAW_BYTE_LEN: usize = 6usize
The raw size of this type, in bytes. Read more
sourceimpl<'a> SomeRecord<'a> for LangSysRecord
impl<'a> SomeRecord<'a> for LangSysRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations
impl RefUnwindSafe for LangSysRecord
impl Send for LangSysRecord
impl Sync for LangSysRecord
impl Unpin for LangSysRecord
impl UnwindSafe for LangSysRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more