Struct read_fonts::tables::gpos::EntryExitRecord
source · #[repr(C, packed(1))]pub struct EntryExitRecord {
pub entry_anchor_offset: BigEndian<Nullable<Offset16>>,
pub exit_anchor_offset: BigEndian<Nullable<Offset16>>,
}
Expand description
Part of CursivePosFormat1
Fields§
§entry_anchor_offset: BigEndian<Nullable<Offset16>>
Offset to entryAnchor table, from beginning of CursivePos subtable (may be NULL).
exit_anchor_offset: BigEndian<Nullable<Offset16>>
Offset to exitAnchor table, from beginning of CursivePos subtable (may be NULL).
Implementations§
source§impl EntryExitRecord
impl EntryExitRecord
sourcepub fn entry_anchor_offset(&self) -> Nullable<Offset16>
pub fn entry_anchor_offset(&self) -> Nullable<Offset16>
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<Offset16>
pub fn exit_anchor_offset(&self) -> Nullable<Offset16>
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§
source§impl Clone for EntryExitRecord
impl Clone for EntryExitRecord
source§fn clone(&self) -> EntryExitRecord
fn clone(&self) -> EntryExitRecord
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 Debug for EntryExitRecord
impl Debug for EntryExitRecord
source§impl FixedSize for EntryExitRecord
impl FixedSize for EntryExitRecord
source§const RAW_BYTE_LEN: usize = 4usize
const RAW_BYTE_LEN: usize = 4usize
The raw size of this type, in bytes. Read more
source§impl<'a> SomeRecord<'a> for EntryExitRecord
impl<'a> SomeRecord<'a> for EntryExitRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
impl AnyBitPattern for EntryExitRecord
impl Copy for EntryExitRecord
Auto Trait Implementations§
impl Freeze for EntryExitRecord
impl RefUnwindSafe for EntryExitRecord
impl Send for EntryExitRecord
impl Sync for EntryExitRecord
impl Unpin for EntryExitRecord
impl UnwindSafe for EntryExitRecord
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
.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
)