Struct read_fonts::tables::gpos::BaseRecord
source · pub struct BaseRecord<'a> {
pub base_anchor_offsets: &'a [BigEndian<Nullable<Offset16>>],
}
Expand description
Part of BaseArray
Fields§
§base_anchor_offsets: &'a [BigEndian<Nullable<Offset16>>]
Array of offsets (one per mark class) to Anchor tables. Offsets are from beginning of BaseArray table, ordered by class (offsets may be NULL).
Implementations§
source§impl<'a> BaseRecord<'a>
impl<'a> BaseRecord<'a>
sourcepub fn base_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset16>>]
pub fn base_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset16>>]
Array of offsets (one per mark class) to Anchor tables. Offsets are from beginning of BaseArray table, ordered by class (offsets may be NULL).
sourcepub fn base_anchors(
&self,
data: FontData<'a>
) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset16>
pub fn base_anchors( &self, data: FontData<'a> ) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset16>
Array of offsets (one per mark class) to Anchor tables. Offsets are from beginning of BaseArray table, ordered by class (offsets may be NULL).
The data
argument should be retrieved from the parent table
By calling its offset_data
method.
Trait Implementations§
source§impl<'a> Clone for BaseRecord<'a>
impl<'a> Clone for BaseRecord<'a>
source§fn clone(&self) -> BaseRecord<'a>
fn clone(&self) -> BaseRecord<'a>
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 ComputeSize for BaseRecord<'_>
impl ComputeSize for BaseRecord<'_>
source§fn compute_size(args: &u16) -> usize
fn compute_size(args: &u16) -> usize
Compute the number of bytes required to represent this type.
source§impl<'a> Debug for BaseRecord<'a>
impl<'a> Debug for BaseRecord<'a>
source§impl<'a> FontReadWithArgs<'a> for BaseRecord<'a>
impl<'a> FontReadWithArgs<'a> for BaseRecord<'a>
source§impl<'a> SomeRecord<'a> for BaseRecord<'a>
impl<'a> SomeRecord<'a> for BaseRecord<'a>
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations§
impl<'a> Freeze for BaseRecord<'a>
impl<'a> RefUnwindSafe for BaseRecord<'a>
impl<'a> Send for BaseRecord<'a>
impl<'a> Sync for BaseRecord<'a>
impl<'a> Unpin for BaseRecord<'a>
impl<'a> UnwindSafe for BaseRecord<'a>
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