pub struct ComponentRecord<'a> {
pub ligature_anchor_offsets: &'a [BigEndian<Nullable<Offset16>>],
}
Expand description
Part of MarkLigPosFormat1
Fields§
§ligature_anchor_offsets: &'a [BigEndian<Nullable<Offset16>>]
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> ComponentRecord<'a>
impl<'a> ComponentRecord<'a>
sourcepub fn ligature_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset16>>]
pub fn ligature_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset16>>]
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>, Offset16>
pub fn ligature_anchors( &self, data: FontData<'a>, ) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset16>
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 ComponentRecord<'a>
impl<'a> Clone for ComponentRecord<'a>
source§fn clone(&self) -> ComponentRecord<'a>
fn clone(&self) -> ComponentRecord<'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 ComponentRecord<'_>
impl ComputeSize for ComponentRecord<'_>
source§impl<'a> Debug for ComponentRecord<'a>
impl<'a> Debug for ComponentRecord<'a>
source§impl<'a> FontReadWithArgs<'a> for ComponentRecord<'a>
impl<'a> FontReadWithArgs<'a> for ComponentRecord<'a>
source§impl<'a> SomeRecord<'a> for ComponentRecord<'a>
impl<'a> SomeRecord<'a> for ComponentRecord<'a>
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations§
impl<'a> Freeze for ComponentRecord<'a>
impl<'a> RefUnwindSafe for ComponentRecord<'a>
impl<'a> Send for ComponentRecord<'a>
impl<'a> Sync for ComponentRecord<'a>
impl<'a> Unpin for ComponentRecord<'a>
impl<'a> UnwindSafe for ComponentRecord<'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
)