#[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 (0xFFFF for none).
marked_insert_index: BigEndian<u16>Zero-based index into the insertion glyph table (0xFFFF for none).
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 (0xFFFF for none).
Sourcepub fn marked_insert_index(&self) -> u16
pub fn marked_insert_index(&self) -> u16
Zero-based index into the insertion glyph table (0xFFFF for none).
Trait Implementations§
Source§impl Clone for InsertionEntryData
impl Clone for InsertionEntryData
Source§fn clone(&self) -> InsertionEntryData
fn clone(&self) -> InsertionEntryData
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 Debug for InsertionEntryData
impl Debug for InsertionEntryData
Source§impl FixedSize for InsertionEntryData
impl FixedSize for InsertionEntryData
Source§const RAW_BYTE_LEN: usize
const RAW_BYTE_LEN: usize
The raw size of this type, in bytes. Read more
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 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for InsertionEntryData
impl PartialEq for InsertionEntryData
Source§fn eq(&self, other: &InsertionEntryData) -> bool
fn eq(&self, other: &InsertionEntryData) -> bool
Tests for
self and other values to be equal, and is used by ==.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 UnsafeUnpin 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
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.