pub struct BaseRecord2<'a> {
pub base_anchor_offsets: &'a [BigEndian<Nullable<Offset24>>],
}Expand description
BaseRecord2 (ISO/IEC 14496-22:2026).
Fields§
§base_anchor_offsets: &'a [BigEndian<Nullable<Offset24>>]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> BaseRecord2<'a>
impl<'a> BaseRecord2<'a>
Sourcepub fn base_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset24>>]
pub fn base_anchor_offsets(&self) -> &'a [BigEndian<Nullable<Offset24>>]
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>, Offset24>
pub fn base_anchors( &self, data: FontData<'a>, ) -> ArrayOfNullableOffsets<'a, AnchorTable<'a>, Offset24>
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 BaseRecord2<'a>
impl<'a> Clone for BaseRecord2<'a>
Source§fn clone(&self) -> BaseRecord2<'a>
fn clone(&self) -> BaseRecord2<'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 BaseRecord2<'_>
impl ComputeSize for BaseRecord2<'_>
Source§impl<'a> Debug for BaseRecord2<'a>
impl<'a> Debug for BaseRecord2<'a>
Source§impl<'a> FontRead<'a> for BaseRecord2<'a>
impl<'a> FontRead<'a> for BaseRecord2<'a>
Source§impl<'a> FontReadAt<'a> for BaseRecord2<'a>
impl<'a> FontReadAt<'a> for BaseRecord2<'a>
Auto Trait Implementations§
impl<'a> Freeze for BaseRecord2<'a>
impl<'a> RefUnwindSafe for BaseRecord2<'a>
impl<'a> Send for BaseRecord2<'a>
impl<'a> Sync for BaseRecord2<'a>
impl<'a> Unpin for BaseRecord2<'a>
impl<'a> UnsafeUnpin for BaseRecord2<'a>
impl<'a> UnwindSafe for BaseRecord2<'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