Enum write_fonts::tables::layout::LookupType
source · pub enum LookupType {
Gpos(u16),
Gsub(u16),
}Expand description
Raw values for the different layout subtables
Variants§
Trait Implementations§
source§impl Clone for LookupType
impl Clone for LookupType
source§fn clone(&self) -> LookupType
fn clone(&self) -> LookupType
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 LookupType
impl Debug for LookupType
source§impl FontWrite for LookupType
impl FontWrite for LookupType
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 PartialEq for LookupType
impl PartialEq for LookupType
source§fn eq(&self, other: &LookupType) -> bool
fn eq(&self, other: &LookupType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for LookupType
impl Eq for LookupType
impl StructuralPartialEq for LookupType
Auto Trait Implementations§
impl RefUnwindSafe for LookupType
impl Send for LookupType
impl Sync for LookupType
impl Unpin for LookupType
impl UnwindSafe for LookupType
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> 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.