Struct write_fonts::tables::gpos::ExtensionPosFormat1
source · pub struct ExtensionPosFormat1<T> {
pub extension_lookup_type: u16,
pub extension: OffsetMarker<T, WIDTH_32>,
}Expand description
Fields§
§extension_lookup_type: u16Lookup type of subtable referenced by extensionOffset (i.e. the extension subtable).
extension: OffsetMarker<T, WIDTH_32>Offset to the extension subtable, of lookup type extensionLookupType, relative to the start of the ExtensionPosFormat1 subtable.
Implementations§
Trait Implementations§
source§impl<T: Clone> Clone for ExtensionPosFormat1<T>
impl<T: Clone> Clone for ExtensionPosFormat1<T>
source§fn clone(&self) -> ExtensionPosFormat1<T>
fn clone(&self) -> ExtensionPosFormat1<T>
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<T: Debug> Debug for ExtensionPosFormat1<T>
impl<T: Debug> Debug for ExtensionPosFormat1<T>
source§impl<T: Default> Default for ExtensionPosFormat1<T>
impl<T: Default> Default for ExtensionPosFormat1<T>
source§fn default() -> ExtensionPosFormat1<T>
fn default() -> ExtensionPosFormat1<T>
Returns the “default value” for a type. Read more
source§impl<T: LookupSubtable + FontWrite> FontWrite for ExtensionPosFormat1<T>
impl<T: LookupSubtable + FontWrite> FontWrite for ExtensionPosFormat1<T>
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<T: Hash> Hash for ExtensionPosFormat1<T>
impl<T: Hash> Hash for ExtensionPosFormat1<T>
source§impl<T: Ord> Ord for ExtensionPosFormat1<T>
impl<T: Ord> Ord for ExtensionPosFormat1<T>
source§fn cmp(&self, other: &ExtensionPosFormat1<T>) -> Ordering
fn cmp(&self, other: &ExtensionPosFormat1<T>) -> 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<T: PartialEq> PartialEq for ExtensionPosFormat1<T>
impl<T: PartialEq> PartialEq for ExtensionPosFormat1<T>
source§fn eq(&self, other: &ExtensionPosFormat1<T>) -> bool
fn eq(&self, other: &ExtensionPosFormat1<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T: PartialOrd> PartialOrd for ExtensionPosFormat1<T>
impl<T: PartialOrd> PartialOrd for ExtensionPosFormat1<T>
source§fn partial_cmp(&self, other: &ExtensionPosFormat1<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtensionPosFormat1<T>) -> 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<T: Validate> Validate for ExtensionPosFormat1<T>
impl<T: Validate> Validate for ExtensionPosFormat1<T>
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
impl<T: Eq> Eq for ExtensionPosFormat1<T>
impl<T> StructuralPartialEq for ExtensionPosFormat1<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for ExtensionPosFormat1<T>where
T: RefUnwindSafe,
impl<T> Send for ExtensionPosFormat1<T>where
T: Send,
impl<T> Sync for ExtensionPosFormat1<T>where
T: Sync,
impl<T> Unpin for ExtensionPosFormat1<T>where
T: Unpin,
impl<T> UnwindSafe for ExtensionPosFormat1<T>where
T: UnwindSafe,
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<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.