Struct read_fonts::TableRecord
source · [−]#[repr(C)]#[repr(packed)]pub struct TableRecord {
pub tag: BigEndian<Tag>,
pub checksum: BigEndian<u32>,
pub offset: BigEndian<Offset32>,
pub length: BigEndian<u32>,
}Expand description
Record for a table in a font.
Fields
tag: BigEndian<Tag>Table identifier.
checksum: BigEndian<u32>Checksum for the table.
offset: BigEndian<Offset32>Offset from the beginning of the font data.
length: BigEndian<u32>Length of the table.
Implementations
Trait Implementations
sourceimpl Clone for TableRecord
impl Clone for TableRecord
sourcefn clone(&self) -> TableRecord
fn clone(&self) -> TableRecord
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 TableRecord
impl Debug for TableRecord
sourceimpl FixedSize for TableRecord
impl FixedSize for TableRecord
sourceconst RAW_BYTE_LEN: usize = 16usize
const RAW_BYTE_LEN: usize = 16usize
The raw size of this type, in bytes. Read more
sourceimpl<'a> SomeRecord<'a> for TableRecord
impl<'a> SomeRecord<'a> for TableRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations
impl RefUnwindSafe for TableRecord
impl Send for TableRecord
impl Sync for TableRecord
impl Unpin for TableRecord
impl UnwindSafe for TableRecord
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