Struct ttf_parser::gpos::ClassMatrix
source · [−]pub struct ClassMatrix<'a> { /* private fields */ }
Expand description
A ValueRecord
pairs matrix used by PairAdjustment
.
Implementations
sourceimpl<'a> ClassMatrix<'a>
impl<'a> ClassMatrix<'a>
sourcepub fn get(
&self,
classes: (u16, u16)
) -> Option<(ValueRecord<'a>, ValueRecord<'a>)>
pub fn get(
&self,
classes: (u16, u16)
) -> Option<(ValueRecord<'a>, ValueRecord<'a>)>
Returns a ValueRecord
pair using specified classes.
Trait Implementations
sourceimpl<'a> Clone for ClassMatrix<'a>
impl<'a> Clone for ClassMatrix<'a>
sourcefn clone(&self) -> ClassMatrix<'a>
fn clone(&self) -> ClassMatrix<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ClassMatrix<'_>
impl Debug for ClassMatrix<'_>
impl<'a> Copy for ClassMatrix<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ClassMatrix<'a>
impl<'a> Send for ClassMatrix<'a>
impl<'a> Sync for ClassMatrix<'a>
impl<'a> Unpin for ClassMatrix<'a>
impl<'a> UnwindSafe for ClassMatrix<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more