pub struct ComponentRecord2<'a> {
pub ligature_anchor_offsets: &'a [BigEndian<Nullable<Offset24>>],
}Expand description
ComponentRecord2 (ISO/IEC 14496-22:2026).
Fields§
§ligature_anchor_offsets: &'a [BigEndian<Nullable<Offset24>>]Array of offsets (one per class) to Anchor tables. Offsets are from beginning of LigatureAttach table, ordered by class (offsets may be NULL).
Implementations§
Source§impl<'a> ComponentRecord2<'a>
impl<'a> ComponentRecord2<'a>
Sourcepub fn ligature_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset24>>]
pub fn ligature_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset24>>]
Array of offsets (one per class) to Anchor tables. Offsets are from beginning of LigatureAttach table, ordered by class (offsets may be NULL).
Sourcepub fn ligature_anchors(
&self,
data: FontData<'a>,
) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset24>
pub fn ligature_anchors( &self, data: FontData<'a>, ) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset24>
Array of offsets (one per class) to Anchor tables. Offsets are from beginning of LigatureAttach 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 ComponentRecord2<'a>
impl<'a> Clone for ComponentRecord2<'a>
Source§fn clone(&self) -> ComponentRecord2<'a>
fn clone(&self) -> ComponentRecord2<'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 ComponentRecord2<'_>
impl ComputeSize for ComponentRecord2<'_>
Source§impl<'a> Debug for ComponentRecord2<'a>
impl<'a> Debug for ComponentRecord2<'a>
Source§impl<'a> FontRead<'a> for ComponentRecord2<'a>
impl<'a> FontRead<'a> for ComponentRecord2<'a>
Source§impl<'a> FontReadAt<'a> for ComponentRecord2<'a>
impl<'a> FontReadAt<'a> for ComponentRecord2<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComponentRecord2<'a>
impl<'a> RefUnwindSafe for ComponentRecord2<'a>
impl<'a> Send for ComponentRecord2<'a>
impl<'a> Sync for ComponentRecord2<'a>
impl<'a> Unpin for ComponentRecord2<'a>
impl<'a> UnsafeUnpin for ComponentRecord2<'a>
impl<'a> UnwindSafe for ComponentRecord2<'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