Struct write_fonts::tables::gsub::ExtensionSubstFormat1
source · pub struct ExtensionSubstFormat1<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 (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 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 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<T: LookupType + FontWrite> FontWrite for ExtensionSubstFormat1<T>
impl<T: LookupType + 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.
fn name(&self) -> &'static str
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
Auto Trait Implementations§
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>where T: Unpin,
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<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.