pub struct RowForm { /* private fields */ }Expand description
A strict tone row paired with the operation identity that produced it.
The operation is algebraic provenance. Printed labels are derived separately
with RowForm::label and an explicit RowLabelConvention.
Implementations§
Source§impl RowForm
impl RowForm
Sourcepub const fn operation(&self) -> RowOperation
pub const fn operation(&self) -> RowOperation
Returns the normalized operation identity that produced this form.
Sourcepub const fn classes(&self) -> &[PitchClass; 12]
pub const fn classes(&self) -> &[PitchClass; 12]
Returns the twelve pitch classes in form order.
Sourcepub fn label(&self, convention: RowLabelConvention) -> RowLabel
pub fn label(&self, convention: RowLabelConvention) -> RowLabel
Derives a printed label under the selected convention.
Trait Implementations§
impl Eq for RowForm
impl StructuralPartialEq for RowForm
Auto Trait Implementations§
impl Freeze for RowForm
impl RefUnwindSafe for RowForm
impl Send for RowForm
impl Sync for RowForm
impl Unpin for RowForm
impl UnsafeUnpin for RowForm
impl UnwindSafe for RowForm
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