pub struct ExtensionSubstFormat1<T> {
pub extension_lookup_type: u16,
pub extension: OffsetMarker<T, WIDTH_32>,
}
Expand description
Fields§
§extension_lookup_type: u16
Lookup type of subtable referenced by extensionOffset (that is, the extension subtable).
extension: OffsetMarker<T, WIDTH_32>
Offset to the extension subtable, of lookup type extensionLookupType, relative to the start of the ExtensionSubstFormat1 subtable.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for ExtensionSubstFormat1<T>
impl<T: Clone> Clone for ExtensionSubstFormat1<T>
Source§fn clone(&self) -> ExtensionSubstFormat1<T>
fn clone(&self) -> ExtensionSubstFormat1<T>
Returns a duplicate 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 ExtensionSubstFormat1<T>
impl<T: Debug> Debug for ExtensionSubstFormat1<T>
Source§impl<T: Default> Default for ExtensionSubstFormat1<T>
impl<T: Default> Default for ExtensionSubstFormat1<T>
Source§fn default() -> ExtensionSubstFormat1<T>
fn default() -> ExtensionSubstFormat1<T>
Returns the “default value” for a type. Read more
Source§impl<'de, T> Deserialize<'de> for ExtensionSubstFormat1<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ExtensionSubstFormat1<T>where
T: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: LookupSubtable + FontWrite> FontWrite for ExtensionSubstFormat1<T>
impl<T: LookupSubtable + FontWrite> FontWrite for ExtensionSubstFormat1<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 From<ExtensionSubstFormat1<AlternateSubstFormat1>> for ExtensionSubtable
impl From<ExtensionSubstFormat1<AlternateSubstFormat1>> for ExtensionSubtable
Source§fn from(src: ExtensionSubstFormat1<AlternateSubstFormat1>) -> ExtensionSubtable
fn from(src: ExtensionSubstFormat1<AlternateSubstFormat1>) -> ExtensionSubtable
Converts to this type from the input type.
Source§impl From<ExtensionSubstFormat1<LigatureSubstFormat1>> for ExtensionSubtable
impl From<ExtensionSubstFormat1<LigatureSubstFormat1>> for ExtensionSubtable
Source§fn from(src: ExtensionSubstFormat1<LigatureSubstFormat1>) -> ExtensionSubtable
fn from(src: ExtensionSubstFormat1<LigatureSubstFormat1>) -> ExtensionSubtable
Converts to this type from the input type.
Source§impl From<ExtensionSubstFormat1<MultipleSubstFormat1>> for ExtensionSubtable
impl From<ExtensionSubstFormat1<MultipleSubstFormat1>> for ExtensionSubtable
Source§fn from(src: ExtensionSubstFormat1<MultipleSubstFormat1>) -> ExtensionSubtable
fn from(src: ExtensionSubstFormat1<MultipleSubstFormat1>) -> ExtensionSubtable
Converts to this type from the input type.
Source§impl From<ExtensionSubstFormat1<ReverseChainSingleSubstFormat1>> for ExtensionSubtable
impl From<ExtensionSubstFormat1<ReverseChainSingleSubstFormat1>> for ExtensionSubtable
Source§fn from(
src: ExtensionSubstFormat1<ReverseChainSingleSubstFormat1>,
) -> ExtensionSubtable
fn from( src: ExtensionSubstFormat1<ReverseChainSingleSubstFormat1>, ) -> ExtensionSubtable
Converts to this type from the input type.
Source§impl From<ExtensionSubstFormat1<SingleSubst>> for ExtensionSubtable
impl From<ExtensionSubstFormat1<SingleSubst>> for ExtensionSubtable
Source§fn from(src: ExtensionSubstFormat1<SingleSubst>) -> ExtensionSubtable
fn from(src: ExtensionSubstFormat1<SingleSubst>) -> ExtensionSubtable
Converts to this type from the input type.
Source§impl From<ExtensionSubstFormat1<SubstitutionChainContext>> for ExtensionSubtable
impl From<ExtensionSubstFormat1<SubstitutionChainContext>> for ExtensionSubtable
Source§fn from(
src: ExtensionSubstFormat1<SubstitutionChainContext>,
) -> ExtensionSubtable
fn from( src: ExtensionSubstFormat1<SubstitutionChainContext>, ) -> ExtensionSubtable
Converts to this type from the input type.
Source§impl From<ExtensionSubstFormat1<SubstitutionSequenceContext>> for ExtensionSubtable
impl From<ExtensionSubstFormat1<SubstitutionSequenceContext>> for ExtensionSubtable
Source§fn from(
src: ExtensionSubstFormat1<SubstitutionSequenceContext>,
) -> ExtensionSubtable
fn from( src: ExtensionSubstFormat1<SubstitutionSequenceContext>, ) -> ExtensionSubtable
Converts to this type from the input type.
Source§impl<T: Hash> Hash for ExtensionSubstFormat1<T>
impl<T: Hash> Hash for ExtensionSubstFormat1<T>
Source§impl<T: Ord> Ord for ExtensionSubstFormat1<T>
impl<T: Ord> Ord for ExtensionSubstFormat1<T>
Source§fn cmp(&self, other: &ExtensionSubstFormat1<T>) -> Ordering
fn cmp(&self, other: &ExtensionSubstFormat1<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 ExtensionSubstFormat1<T>
impl<T: PartialEq> PartialEq for ExtensionSubstFormat1<T>
Source§impl<T: PartialOrd> PartialOrd for ExtensionSubstFormat1<T>
impl<T: PartialOrd> PartialOrd for ExtensionSubstFormat1<T>
Source§impl<T> Serialize for ExtensionSubstFormat1<T>where
T: Serialize,
impl<T> Serialize for ExtensionSubstFormat1<T>where
T: Serialize,
Source§impl<T: Validate> Validate for ExtensionSubstFormat1<T>
impl<T: Validate> Validate for ExtensionSubstFormat1<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 ExtensionSubstFormat1<T>
impl<T> StructuralPartialEq for ExtensionSubstFormat1<T>
Auto Trait Implementations§
impl<T> Freeze for ExtensionSubstFormat1<T>
impl<T> RefUnwindSafe for ExtensionSubstFormat1<T>where
T: RefUnwindSafe,
impl<T> Send for ExtensionSubstFormat1<T>where
T: Send,
impl<T> Sync for ExtensionSubstFormat1<T>where
T: Sync,
impl<T> Unpin for ExtensionSubstFormat1<T>
impl<T> UnwindSafe for ExtensionSubstFormat1<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§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.