Struct read_fonts::tables::base::BaseLangSysRecord
source · #[repr(C, packed(1))]pub struct BaseLangSysRecord {
pub base_lang_sys_tag: BigEndian<Tag>,
pub min_max_offset: BigEndian<Offset16>,
}
Expand description
Fields§
§base_lang_sys_tag: BigEndian<Tag>
4-byte language system identification tag
min_max_offset: BigEndian<Offset16>
Offset to MinMax table, from beginning of BaseScript table
Implementations§
source§impl BaseLangSysRecord
impl BaseLangSysRecord
sourcepub fn base_lang_sys_tag(&self) -> Tag
pub fn base_lang_sys_tag(&self) -> Tag
4-byte language system identification tag
sourcepub fn min_max_offset(&self) -> Offset16
pub fn min_max_offset(&self) -> Offset16
Offset to MinMax table, from beginning of BaseScript table
Trait Implementations§
source§impl Clone for BaseLangSysRecord
impl Clone for BaseLangSysRecord
source§fn clone(&self) -> BaseLangSysRecord
fn clone(&self) -> BaseLangSysRecord
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BaseLangSysRecord
impl Debug for BaseLangSysRecord
source§impl FixedSize for BaseLangSysRecord
impl FixedSize for BaseLangSysRecord
source§const RAW_BYTE_LEN: usize = 6usize
const RAW_BYTE_LEN: usize = 6usize
The raw size of this type, in bytes. Read more
source§impl<'a> SomeRecord<'a> for BaseLangSysRecord
impl<'a> SomeRecord<'a> for BaseLangSysRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for BaseLangSysRecord
impl Copy for BaseLangSysRecord
Auto Trait Implementations§
impl Freeze for BaseLangSysRecord
impl RefUnwindSafe for BaseLangSysRecord
impl Send for BaseLangSysRecord
impl Sync for BaseLangSysRecord
impl Unpin for BaseLangSysRecord
impl UnwindSafe for BaseLangSysRecord
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<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)