pub struct RowMatrixCell { /* private fields */ }Expand description
One pitch-class cell paired with its matrix coordinate.
Implementations§
Source§impl RowMatrixCell
impl RowMatrixCell
Sourcepub const fn coordinate(self) -> MatrixCoordinate
pub const fn coordinate(self) -> MatrixCoordinate
Returns this cell’s zero-based coordinate.
Sourcepub const fn class(self) -> PitchClass
pub const fn class(self) -> PitchClass
Returns the pitch class stored in this cell.
Trait Implementations§
Source§impl Clone for RowMatrixCell
impl Clone for RowMatrixCell
Source§fn clone(&self) -> RowMatrixCell
fn clone(&self) -> RowMatrixCell
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RowMatrixCell
Source§impl Debug for RowMatrixCell
impl Debug for RowMatrixCell
impl Eq for RowMatrixCell
Source§impl Hash for RowMatrixCell
impl Hash for RowMatrixCell
Source§impl PartialEq for RowMatrixCell
impl PartialEq for RowMatrixCell
impl StructuralPartialEq for RowMatrixCell
Auto Trait Implementations§
impl Freeze for RowMatrixCell
impl RefUnwindSafe for RowMatrixCell
impl Send for RowMatrixCell
impl Sync for RowMatrixCell
impl Unpin for RowMatrixCell
impl UnsafeUnpin for RowMatrixCell
impl UnwindSafe for RowMatrixCell
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