Struct write_fonts::tables::variations::TupleIndex
source · pub struct TupleIndex(_);Implementations§
source§impl TupleIndex
impl TupleIndex
pub fn bits(self) -> u16
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
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 TupleIndex
impl Debug for TupleIndex
source§impl Default for TupleIndex
impl Default for TupleIndex
source§fn default() -> TupleIndex
fn default() -> TupleIndex
Returns the “default value” for a type. Read more
source§impl FontWrite for TupleIndex
impl FontWrite for TupleIndex
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
source§impl Hash for TupleIndex
impl Hash for TupleIndex
source§impl Ord for TupleIndex
impl Ord for TupleIndex
source§fn cmp(&self, other: &TupleIndex) -> Ordering
fn cmp(&self, other: &TupleIndex) -> 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<TupleIndex> for TupleIndex
impl PartialEq<TupleIndex> for TupleIndex
source§fn eq(&self, other: &TupleIndex) -> bool
fn eq(&self, other: &TupleIndex) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<TupleIndex> for TupleIndex
impl PartialOrd<TupleIndex> for TupleIndex
source§fn partial_cmp(&self, other: &TupleIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &TupleIndex) -> 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 TupleIndex
impl Scalar for TupleIndex
impl Copy for TupleIndex
impl Eq for TupleIndex
impl StructuralEq for TupleIndex
impl StructuralPartialEq for TupleIndex
Auto Trait Implementations§
impl RefUnwindSafe for TupleIndex
impl Send for TupleIndex
impl Sync for TupleIndex
impl Unpin for TupleIndex
impl UnwindSafe for TupleIndex
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
source§impl<T> FromObjRef<BigEndian<T>> for Twhere
T: Scalar,
BigEndian<T>: Copy,
impl<T> FromObjRef<BigEndian<T>> for Twhere T: Scalar, BigEndian<T>: Copy,
source§fn from_obj_ref(from: &BigEndian<T>, _: FontData<'_>) -> T
fn from_obj_ref(from: &BigEndian<T>, _: FontData<'_>) -> T
Convert
from to an instance of Self, using the provided data to resolve offsets.source§impl<T> ReadScalar for Twhere
T: Scalar + FixedSize,
<T as Scalar>::Raw: ReadScalar,
impl<T> ReadScalar for Twhere T: Scalar + FixedSize, <T as Scalar>::Raw: ReadScalar,
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.