#[repr(C, packed(1))]pub struct InsertionEntryData {
pub current_insert_index: BigEndian<u16>,
pub marked_insert_index: BigEndian<u16>,
}
Expand description
Entry payload in an insertion subtable state machine.
Fields§
§current_insert_index: BigEndian<u16>
Zero-based index into the insertion glyph table. The number of glyphs to be inserted is contained in the currentInsertCount field in the flags (see below). A value of 0xFFFF indicates no insertion is to be done.
marked_insert_index: BigEndian<u16>
Zero-based index into the insertion glyph table. The number of glyphs to be inserted is contained in the markedInsertCount field in the flags (see below). A value of 0xFFFF indicates no insertion is to be done.
Implementations§
Source§impl InsertionEntryData
impl InsertionEntryData
Sourcepub fn current_insert_index(&self) -> u16
pub fn current_insert_index(&self) -> u16
Zero-based index into the insertion glyph table. The number of glyphs to be inserted is contained in the currentInsertCount field in the flags (see below). A value of 0xFFFF indicates no insertion is to be done.
Sourcepub fn marked_insert_index(&self) -> u16
pub fn marked_insert_index(&self) -> u16
Zero-based index into the insertion glyph table. The number of glyphs to be inserted is contained in the markedInsertCount field in the flags (see below). A value of 0xFFFF indicates no insertion is to be done.
Trait Implementations§
Source§impl Clone for InsertionEntryData
impl Clone for InsertionEntryData
Source§fn clone(&self) -> InsertionEntryData
fn clone(&self) -> InsertionEntryData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for InsertionEntryData
impl Debug for InsertionEntryData
Source§impl FixedSize for InsertionEntryData
impl FixedSize for InsertionEntryData
Source§const RAW_BYTE_LEN: usize = 4usize
const RAW_BYTE_LEN: usize = 4usize
Source§impl Hash for InsertionEntryData
impl Hash for InsertionEntryData
Source§impl Ord for InsertionEntryData
impl Ord for InsertionEntryData
Source§fn cmp(&self, other: &InsertionEntryData) -> Ordering
fn cmp(&self, other: &InsertionEntryData) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for InsertionEntryData
impl PartialEq for InsertionEntryData
Source§impl PartialOrd for InsertionEntryData
impl PartialOrd for InsertionEntryData
impl AnyBitPattern for InsertionEntryData
impl Copy for InsertionEntryData
impl Eq for InsertionEntryData
impl StructuralPartialEq for InsertionEntryData
Auto Trait Implementations§
impl Freeze for InsertionEntryData
impl RefUnwindSafe for InsertionEntryData
impl Send for InsertionEntryData
impl Sync for InsertionEntryData
impl Unpin for InsertionEntryData
impl UnwindSafe for InsertionEntryData
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
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
bits
as &Self
.