Enum read_fonts::layout::DeltaFormat
source · [−]#[repr(u16)]
pub enum DeltaFormat {
Local2BitDeltas,
Local4BitDeltas,
Local8BitDeltas,
VariationIndex,
Unknown,
}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.
Unknown
Implementations
sourceimpl DeltaFormat
impl DeltaFormat
Trait Implementations
sourceimpl Clone for DeltaFormat
impl Clone for DeltaFormat
sourcefn clone(&self) -> DeltaFormat
fn clone(&self) -> DeltaFormat
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 DeltaFormat
impl Debug for DeltaFormat
sourceimpl Default for DeltaFormat
impl Default for DeltaFormat
sourceimpl<'a> From<DeltaFormat> for FieldType<'a>
impl<'a> From<DeltaFormat> for FieldType<'a>
sourcefn from(src: DeltaFormat) -> FieldType<'a>
fn from(src: DeltaFormat) -> FieldType<'a>
Converts to this type from the input type.
sourceimpl PartialEq<DeltaFormat> for DeltaFormat
impl PartialEq<DeltaFormat> for DeltaFormat
sourcefn eq(&self, other: &DeltaFormat) -> bool
fn eq(&self, other: &DeltaFormat) -> bool
sourceimpl Scalar for DeltaFormat
impl Scalar for DeltaFormat
impl Copy for DeltaFormat
impl Eq for DeltaFormat
impl StructuralEq for DeltaFormat
impl StructuralPartialEq for DeltaFormat
Auto Trait Implementations
impl RefUnwindSafe for DeltaFormat
impl Send for DeltaFormat
impl Sync for DeltaFormat
impl Unpin for DeltaFormat
impl UnwindSafe for DeltaFormat
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