pub struct SubstitutionTable<'a> {
pub inner: LayoutTable<'a>,
pub lookups: Vec<SubstLookup<'a>>,
}
Fields§
§inner: LayoutTable<'a>
§lookups: Vec<SubstLookup<'a>>
Implementations§
Source§impl<'a> SubstitutionTable<'a>
impl<'a> SubstitutionTable<'a>
pub fn new(inner: LayoutTable<'a>) -> Self
Trait Implementations§
Source§impl<'a> Clone for SubstitutionTable<'a>
impl<'a> Clone for SubstitutionTable<'a>
Source§fn clone(&self) -> SubstitutionTable<'a>
fn clone(&self) -> SubstitutionTable<'a>
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<'a> LayoutTable for SubstitutionTable<'a>
impl<'a> LayoutTable for SubstitutionTable<'a>
Source§const INDEX: TableIndex = TableIndex::GSUB
const INDEX: TableIndex = TableIndex::GSUB
The index of this table.
Source§const IN_PLACE: bool = false
const IN_PLACE: bool = false
Whether lookups in this table can be applied to the buffer in-place.
Source§type Lookup = SubstLookup<'a>
type Lookup = SubstLookup<'a>
The kind of lookup stored in this table.
Source§fn get_lookup(&self, index: LookupIndex) -> Option<&Self::Lookup>
fn get_lookup(&self, index: LookupIndex) -> Option<&Self::Lookup>
Get the lookup at the specified index.
Auto Trait Implementations§
impl<'a> Freeze for SubstitutionTable<'a>
impl<'a> RefUnwindSafe for SubstitutionTable<'a>
impl<'a> Send for SubstitutionTable<'a>
impl<'a> Sync for SubstitutionTable<'a>
impl<'a> Unpin for SubstitutionTable<'a>
impl<'a> UnwindSafe for SubstitutionTable<'a>
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