pub struct Mark2Record2<'a> {
pub mark2_anchor_offsets: &'a [BigEndian<Nullable<Offset24>>],
}Expand description
Mark2Record2 (ISO/IEC 14496-22:2026).
Fields§
§mark2_anchor_offsets: &'a [BigEndian<Nullable<Offset24>>]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> Mark2Record2<'a>
impl<'a> Mark2Record2<'a>
Sourcepub fn mark2_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset24>>]
pub fn mark2_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset24>>]
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>, Offset24>
pub fn mark2_anchors( &self, data: FontData<'a>, ) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset24>
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 Mark2Record2<'a>
impl<'a> Clone for Mark2Record2<'a>
Source§fn clone(&self) -> Mark2Record2<'a>
fn clone(&self) -> Mark2Record2<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Mark2Record2<'_>
impl ComputeSize for Mark2Record2<'_>
Source§impl<'a> Debug for Mark2Record2<'a>
impl<'a> Debug for Mark2Record2<'a>
Source§impl<'a> FontRead<'a> for Mark2Record2<'a>
impl<'a> FontRead<'a> for Mark2Record2<'a>
Source§impl<'a> FontReadAt<'a> for Mark2Record2<'a>
impl<'a> FontReadAt<'a> for Mark2Record2<'a>
Auto Trait Implementations§
impl<'a> Freeze for Mark2Record2<'a>
impl<'a> RefUnwindSafe for Mark2Record2<'a>
impl<'a> Send for Mark2Record2<'a>
impl<'a> Sync for Mark2Record2<'a>
impl<'a> Unpin for Mark2Record2<'a>
impl<'a> UnsafeUnpin for Mark2Record2<'a>
impl<'a> UnwindSafe for Mark2Record2<'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