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> Freeze for ClassMatrix<'a>
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