pub struct TupleIndex(/* private fields */);
Implementations§
Source§impl TupleIndex
impl TupleIndex
Sourcepub const EMBEDDED_PEAK_TUPLE: u16 = 32_768u16
pub const EMBEDDED_PEAK_TUPLE: u16 = 32_768u16
Flag indicating that this tuple variation header includes an embedded peak tuple record, immediately after the tupleIndex field.
If set, the low 12 bits of the tupleIndex value are ignored.
Note that this must always be set within the ‘cvar’ table.
Sourcepub const INTERMEDIATE_REGION: u16 = 16_384u16
pub const INTERMEDIATE_REGION: u16 = 16_384u16
Flag indicating that this tuple variation table applies to an intermediate region within the variation space.
If set, the header includes the two intermediate-region, start and end tuple records, immediately after the peak tuple record (if present).
Sourcepub const PRIVATE_POINT_NUMBERS: u16 = 8_192u16
pub const PRIVATE_POINT_NUMBERS: u16 = 8_192u16
Flag indicating that the serialized data for this tuple variation table includes packed “point” number data.
If set, this tuple variation table uses that number data; if clear, this tuple variation table uses shared number data found at the start of the serialized data for this glyph variation data or ‘cvar’ table.
Sourcepub const TUPLE_INDEX_MASK: u16 = 4_095u16
pub const TUPLE_INDEX_MASK: u16 = 4_095u16
Mask for the low 12 bits to give the shared tuple records index.
pub fn bits(self) -> u16
pub fn from_bits(bits: u16) -> Self
Sourcepub fn embedded_peak_tuple(self) -> bool
pub fn embedded_peak_tuple(self) -> bool
true
if the header includes an embedded peak tuple.
Sourcepub fn intermediate_region(self) -> bool
pub fn intermediate_region(self) -> bool
true
if the header includes the two intermediate region tuple records.
Sourcepub fn private_point_numbers(self) -> bool
pub fn private_point_numbers(self) -> bool
true
if the data for this table includes packed point number data.
pub fn tuple_records_index(self) -> Option<u16>
Trait Implementations§
Source§impl Clone for TupleIndex
impl Clone for TupleIndex
Source§fn clone(&self) -> TupleIndex
fn clone(&self) -> TupleIndex
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more