Struct write_fonts::tables::base::MinMax
source · pub struct MinMax {
pub min_coord: NullableOffsetMarker<BaseCoord>,
pub max_coord: NullableOffsetMarker<BaseCoord>,
pub feat_min_max_records: Vec<FeatMinMaxRecord>,
}Expand description
MinMax table
Fields§
§min_coord: NullableOffsetMarker<BaseCoord>Offset to BaseCoord table that defines the minimum extent value, from the beginning of MinMax table (may be NULL)
max_coord: NullableOffsetMarker<BaseCoord>Offset to BaseCoord table that defines maximum extent value, from the beginning of MinMax table (may be NULL)
feat_min_max_records: Vec<FeatMinMaxRecord>Array of FeatMinMaxRecords, in alphabetical order by featureTableTag
Implementations§
Trait Implementations§
source§impl FontWrite for MinMax
impl FontWrite for MinMax
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§fn table_type(&self) -> TableType
fn table_type(&self) -> TableType
The type of this table. Read more
source§impl Ord for MinMax
impl Ord for MinMax
source§impl PartialEq for MinMax
impl PartialEq for MinMax
source§impl PartialOrd for MinMax
impl PartialOrd for MinMax
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 Validate for MinMax
impl Validate for MinMax
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
impl Eq for MinMax
impl StructuralPartialEq for MinMax
Auto Trait Implementations§
impl RefUnwindSafe for MinMax
impl Send for MinMax
impl Sync for MinMax
impl Unpin for MinMax
impl UnwindSafe for MinMax
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<'a, T> FontReadWithArgs<'a> for Twhere
T: FontRead<'a>,
impl<'a, T> FontReadWithArgs<'a> for Twhere
T: FontRead<'a>,
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.