Enum read_fonts::tables::layout::DeltaFormat
source · #[repr(u16)]
pub enum DeltaFormat {
Local2BitDeltas,
Local4BitDeltas,
Local8BitDeltas,
VariationIndex,
// some variants omitted
}Expand description
Device delta formats
Variants§
Local2BitDeltas
Signed 2-bit value, 8 values per uint16
Local4BitDeltas
Signed 4-bit value, 4 values per uint16
Local8BitDeltas
Signed 8-bit value, 2 values per uint16
VariationIndex
VariationIndex table, contains a delta-set index pair.
Implementations§
Trait Implementations§
source§impl Clone for DeltaFormat
impl Clone for DeltaFormat
source§fn clone(&self) -> DeltaFormat
fn clone(&self) -> DeltaFormat
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 DeltaFormat
impl Debug for DeltaFormat
source§impl Default for DeltaFormat
impl Default for DeltaFormat
source§impl<'a> From<DeltaFormat> for FieldType<'a>
impl<'a> From<DeltaFormat> for FieldType<'a>
source§fn from(src: DeltaFormat) -> FieldType<'a>
fn from(src: DeltaFormat) -> FieldType<'a>
Converts to this type from the input type.
source§impl Ord for DeltaFormat
impl Ord for DeltaFormat
source§impl PartialEq<DeltaFormat> for DeltaFormat
impl PartialEq<DeltaFormat> for DeltaFormat
source§fn eq(&self, other: &DeltaFormat) -> bool
fn eq(&self, other: &DeltaFormat) -> bool
source§impl PartialOrd<DeltaFormat> for DeltaFormat
impl PartialOrd<DeltaFormat> for DeltaFormat
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more