Struct read_fonts::layout::gpos::EntryExitRecord
source · [−]#[repr(C)]#[repr(packed)]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
sourceimpl 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>>
Attempt to resolve entry_anchor_offset.
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>>
Attempt to resolve exit_anchor_offset.
Trait Implementations
sourceimpl Clone for EntryExitRecord
impl Clone for EntryExitRecord
sourcefn clone(&self) -> EntryExitRecord
fn clone(&self) -> EntryExitRecord
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for EntryExitRecord
impl Debug for EntryExitRecord
sourceimpl FixedSize for EntryExitRecord
impl FixedSize for EntryExitRecord
sourceconst RAW_BYTE_LEN: usize = 4usize
const RAW_BYTE_LEN: usize = 4usize
The raw size of this type, in bytes. Read more
sourceimpl<'a> SomeRecord<'a> for EntryExitRecord
impl<'a> SomeRecord<'a> for EntryExitRecord
fn traverse(self, data: FontData<'a>) -> RecordResolver<'a>
Auto Trait Implementations
impl RefUnwindSafe for EntryExitRecord
impl Send for EntryExitRecord
impl Sync for EntryExitRecord
impl Unpin for EntryExitRecord
impl UnwindSafe for EntryExitRecord
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more