Struct read_fonts::tables::variations::TupleVariationCount
source · pub struct TupleVariationCount(_);Expand description
The ‘tupleVariationCount’ field of the Tuple Variation Store Header
The high 4 bits are flags, and the low 12 bits are the number of tuple variation tables for this glyph. The count can be any number between 1 and 4095.
Implementations§
Trait Implementations§
source§impl Clone for TupleVariationCount
impl Clone for TupleVariationCount
source§fn clone(&self) -> TupleVariationCount
fn clone(&self) -> TupleVariationCount
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 TupleVariationCount
impl Debug for TupleVariationCount
source§impl Default for TupleVariationCount
impl Default for TupleVariationCount
source§fn default() -> TupleVariationCount
fn default() -> TupleVariationCount
Returns the “default value” for a type. Read more
source§impl Hash for TupleVariationCount
impl Hash for TupleVariationCount
source§impl Ord for TupleVariationCount
impl Ord for TupleVariationCount
source§fn cmp(&self, other: &TupleVariationCount) -> Ordering
fn cmp(&self, other: &TupleVariationCount) -> 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<TupleVariationCount> for TupleVariationCount
impl PartialEq<TupleVariationCount> for TupleVariationCount
source§fn eq(&self, other: &TupleVariationCount) -> bool
fn eq(&self, other: &TupleVariationCount) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TupleVariationCount> for TupleVariationCount
impl PartialOrd<TupleVariationCount> for TupleVariationCount
source§fn partial_cmp(&self, other: &TupleVariationCount) -> Option<Ordering>
fn partial_cmp(&self, other: &TupleVariationCount) -> Option<Ordering>
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 moresource§impl Scalar for TupleVariationCount
impl Scalar for TupleVariationCount
impl Copy for TupleVariationCount
impl Eq for TupleVariationCount
impl StructuralEq for TupleVariationCount
impl StructuralPartialEq for TupleVariationCount
Auto Trait Implementations§
impl RefUnwindSafe for TupleVariationCount
impl Send for TupleVariationCount
impl Sync for TupleVariationCount
impl Unpin for TupleVariationCount
impl UnwindSafe for TupleVariationCount
Blanket Implementations§
source§impl<T> FixedSize for Twhere
T: Scalar,
<T as Scalar>::Raw: FixedSize,
impl<T> FixedSize for Twhere T: Scalar, <T as Scalar>::Raw: FixedSize,
source§const RAW_BYTE_LEN: usize = <<T as Scalar>::Raw>::RAW_BYTE_LEN
const RAW_BYTE_LEN: usize = <<T as Scalar>::Raw>::RAW_BYTE_LEN
The raw size of this type, in bytes. Read more