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 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 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
impl Copy for LookupType
impl Eq for LookupType
impl StructuralPartialEq for LookupType
Auto Trait Implementations§
impl Freeze for LookupType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.