#[repr(C, packed(1))]pub struct Subtable0Pair {
pub left: BigEndian<GlyphId16>,
pub right: BigEndian<GlyphId16>,
pub value: BigEndian<i16>,
}
Expand description
The type 0 kerx
subtable kerning record.
Fields§
§left: BigEndian<GlyphId16>
The glyph index for the lefthand glyph in the kerning pair.
right: BigEndian<GlyphId16>
The glyph index for the righthand glyph in the kerning pair.
value: BigEndian<i16>
Kerning value.
Implementations§
Trait Implementations§
Source§impl Clone for Subtable0Pair
impl Clone for Subtable0Pair
Source§fn clone(&self) -> Subtable0Pair
fn clone(&self) -> Subtable0Pair
Returns a duplicate 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 Subtable0Pair
impl Debug for Subtable0Pair
Source§impl FixedSize for Subtable0Pair
impl FixedSize for Subtable0Pair
Source§const RAW_BYTE_LEN: usize = 6usize
const RAW_BYTE_LEN: usize = 6usize
The raw size of this type, in bytes. Read more
Source§impl Hash for Subtable0Pair
impl Hash for Subtable0Pair
Source§impl Ord for Subtable0Pair
impl Ord for Subtable0Pair
Source§fn cmp(&self, other: &Subtable0Pair) -> Ordering
fn cmp(&self, other: &Subtable0Pair) -> Ordering
1.21.0 · 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 Subtable0Pair
impl PartialEq for Subtable0Pair
Source§impl PartialOrd for Subtable0Pair
impl PartialOrd for Subtable0Pair
impl AnyBitPattern for Subtable0Pair
impl Copy for Subtable0Pair
impl Eq for Subtable0Pair
impl StructuralPartialEq for Subtable0Pair
Auto Trait Implementations§
impl Freeze for Subtable0Pair
impl RefUnwindSafe for Subtable0Pair
impl Send for Subtable0Pair
impl Sync for Subtable0Pair
impl Unpin for Subtable0Pair
impl UnwindSafe for Subtable0Pair
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
.