Struct write_fonts::tables::gpos::PositionSequenceContext
source · pub struct PositionSequenceContext(/* private fields */);Expand description
A typed wrapper around a shared table.
This is used so that we can associate the correct lookup ids for lookups that are shared between GPOS/GSUB.
You can access the inner type via Deref or the as_inner method.
Implementations§
source§impl PositionSequenceContext
impl PositionSequenceContext
sourcepub fn as_inner(&self) -> &SequenceContext
pub fn as_inner(&self) -> &SequenceContext
Return a reference to the inner type.
Trait Implementations§
source§impl Clone for PositionSequenceContext
impl Clone for PositionSequenceContext
source§fn clone(&self) -> PositionSequenceContext
fn clone(&self) -> PositionSequenceContext
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 PositionSequenceContext
impl Debug for PositionSequenceContext
source§impl Default for PositionSequenceContext
impl Default for PositionSequenceContext
source§fn default() -> PositionSequenceContext
fn default() -> PositionSequenceContext
Returns the “default value” for a type. Read more
source§impl Deref for PositionSequenceContext
impl Deref for PositionSequenceContext
source§impl DerefMut for PositionSequenceContext
impl DerefMut for PositionSequenceContext
source§impl FontWrite for PositionSequenceContext
impl FontWrite for PositionSequenceContext
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<SequenceContext> for PositionSequenceContext
impl From<SequenceContext> for PositionSequenceContext
source§fn from(src: SequenceContext) -> PositionSequenceContext
fn from(src: SequenceContext) -> PositionSequenceContext
Converts to this type from the input type.
source§impl<'a> FromObjRef<SequenceContext<'a>> for PositionSequenceContext
impl<'a> FromObjRef<SequenceContext<'a>> for PositionSequenceContext
source§fn from_obj_ref(obj: &SequenceContext<'a>, _data: FontData<'_>) -> Self
fn from_obj_ref(obj: &SequenceContext<'a>, _data: FontData<'_>) -> Self
Convert
from to an instance of Self, using the provided data to resolve offsets.source§impl<'a> FromTableRef<SequenceContext<'a>> for PositionSequenceContext
impl<'a> FromTableRef<SequenceContext<'a>> for PositionSequenceContext
fn from_table_ref(from: &T) -> Self
source§impl Hash for PositionSequenceContext
impl Hash for PositionSequenceContext
source§impl LookupSubtable for PositionSequenceContext
impl LookupSubtable for PositionSequenceContext
source§const TYPE: LookupType = _
const TYPE: LookupType = _
The lookup type of this layout subtable.
source§impl Ord for PositionSequenceContext
impl Ord for PositionSequenceContext
source§fn cmp(&self, other: &PositionSequenceContext) -> Ordering
fn cmp(&self, other: &PositionSequenceContext) -> 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 for PositionSequenceContext
impl PartialEq for PositionSequenceContext
source§fn eq(&self, other: &PositionSequenceContext) -> bool
fn eq(&self, other: &PositionSequenceContext) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PositionSequenceContext
impl PartialOrd for PositionSequenceContext
source§fn partial_cmp(&self, other: &PositionSequenceContext) -> Option<Ordering>
fn partial_cmp(&self, other: &PositionSequenceContext) -> 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 Validate for PositionSequenceContext
impl Validate for PositionSequenceContext
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
impl Eq for PositionSequenceContext
impl StructuralPartialEq for PositionSequenceContext
Auto Trait Implementations§
impl RefUnwindSafe for PositionSequenceContext
impl Send for PositionSequenceContext
impl Sync for PositionSequenceContext
impl Unpin for PositionSequenceContext
impl UnwindSafe for PositionSequenceContext
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.