pub struct Mark2Record<'a> {
pub mark2_anchor_offsets: &'a [BigEndian<Nullable<Offset16>>],
}
Expand description
Part of MarkMarkPosFormat1
Fields§
§mark2_anchor_offsets: &'a [BigEndian<Nullable<Offset16>>]
Array of offsets (one per class) to Anchor tables. Offsets are from beginning of Mark2Array table, in class order (offsets may be NULL).
Implementations§
source§impl<'a> Mark2Record<'a>
impl<'a> Mark2Record<'a>
sourcepub fn mark2_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset16>>]
pub fn mark2_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset16>>]
Array of offsets (one per class) to Anchor tables. Offsets are from beginning of Mark2Array table, in class order (offsets may be NULL).
sourcepub fn mark2_anchors(
&self,
data: FontData<'a>,
) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset16>
pub fn mark2_anchors( &self, data: FontData<'a>, ) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset16>
Array of offsets (one per class) to Anchor tables. Offsets are from beginning of Mark2Array table, in class order (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 Mark2Record<'a>
impl<'a> Clone for Mark2Record<'a>
source§fn clone(&self) -> Mark2Record<'a>
fn clone(&self) -> Mark2Record<'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 Mark2Record<'_>
impl ComputeSize for Mark2Record<'_>
source§impl<'a> Debug for Mark2Record<'a>
impl<'a> Debug for Mark2Record<'a>
source§impl<'a> FontReadWithArgs<'a> for Mark2Record<'a>
impl<'a> FontReadWithArgs<'a> for Mark2Record<'a>
source§impl<'a> SomeRecord<'a> for Mark2Record<'a>
impl<'a> SomeRecord<'a> for Mark2Record<'a>
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations§
impl<'a> Freeze for Mark2Record<'a>
impl<'a> RefUnwindSafe for Mark2Record<'a>
impl<'a> Send for Mark2Record<'a>
impl<'a> Sync for Mark2Record<'a>
impl<'a> Unpin for Mark2Record<'a>
impl<'a> UnwindSafe for Mark2Record<'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
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
)