#[repr(C, packed(1))]pub struct EntryExitRecord2 {
pub entry_anchor_offset: BigEndian<Nullable<Offset24>>,
pub exit_anchor_offset: BigEndian<Nullable<Offset24>>,
}Expand description
EntryExitRecord2 (ISO/IEC 14496-22:2026).
Fields§
§entry_anchor_offset: BigEndian<Nullable<Offset24>>Offset to entryAnchor table, from beginning of CursivePos subtable (may be NULL).
exit_anchor_offset: BigEndian<Nullable<Offset24>>Offset to exitAnchor table, from beginning of CursivePos subtable (may be NULL).
Implementations§
Source§impl EntryExitRecord2
impl EntryExitRecord2
Sourcepub fn entry_anchor_offset(&self) -> Nullable<Offset24>
pub fn entry_anchor_offset(&self) -> Nullable<Offset24>
Offset to entryAnchor table, from beginning of CursivePos subtable (may be NULL).
Sourcepub fn entry_anchor<'a>(
&self,
data: FontData<'a>,
) -> Option<Result<AnchorTable<'a>, ReadError>>
pub fn entry_anchor<'a>( &self, data: FontData<'a>, ) -> Option<Result<AnchorTable<'a>, ReadError>>
Offset to entryAnchor table, from beginning of CursivePos subtable (may be NULL).
The data argument should be retrieved from the parent table
By calling its offset_data method.
Sourcepub fn exit_anchor_offset(&self) -> Nullable<Offset24>
pub fn exit_anchor_offset(&self) -> Nullable<Offset24>
Offset to exitAnchor table, from beginning of CursivePos subtable (may be NULL).
Sourcepub fn exit_anchor<'a>(
&self,
data: FontData<'a>,
) -> Option<Result<AnchorTable<'a>, ReadError>>
pub fn exit_anchor<'a>( &self, data: FontData<'a>, ) -> Option<Result<AnchorTable<'a>, ReadError>>
Offset to exitAnchor table, from beginning of CursivePos subtable (may be NULL).
The data argument should be retrieved from the parent table
By calling its offset_data method.
Trait Implementations§
impl AnyBitPattern for EntryExitRecord2
Source§impl Clone for EntryExitRecord2
impl Clone for EntryExitRecord2
Source§fn clone(&self) -> EntryExitRecord2
fn clone(&self) -> EntryExitRecord2
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 moreimpl Copy for EntryExitRecord2
Source§impl Debug for EntryExitRecord2
impl Debug for EntryExitRecord2
Source§impl FixedSize for EntryExitRecord2
impl FixedSize for EntryExitRecord2
Source§const RAW_BYTE_LEN: usize
const RAW_BYTE_LEN: usize
The raw size of this type, in bytes. Read more
Auto Trait Implementations§
impl Freeze for EntryExitRecord2
impl RefUnwindSafe for EntryExitRecord2
impl Send for EntryExitRecord2
impl Sync for EntryExitRecord2
impl Unpin for EntryExitRecord2
impl UnsafeUnpin for EntryExitRecord2
impl UnwindSafe for EntryExitRecord2
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> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.