Struct owned_ttf_parser::gpos::ClassMatrix
source · pub struct ClassMatrix<'a> { /* private fields */ }
Expand description
A ValueRecord
pairs matrix used by PairAdjustment
.
Implementations§
source§impl<'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§
source§impl<'a> Clone for ClassMatrix<'a>
impl<'a> Clone for ClassMatrix<'a>
source§fn clone(&self) -> ClassMatrix<'a>
fn clone(&self) -> ClassMatrix<'a>
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 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§
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