pub struct HistoricalRow {
pub name: &'static str,
pub composer: &'static str,
pub opus: Option<&'static str>,
pub title: &'static str,
pub pitch_classes: [u8; 12],
}Expand description
A twelve-tone row from the historical literature, with the attributes music21 stores for it.
Fields§
§name: &'static strmusic21’s key for the row, such as SchoenbergOp37.
composer: &'static strThe composer’s surname.
opus: Option<&'static str>The opus, where the work has one.
title: &'static strThe title of the work, or of the row within it.
pitch_classes: [u8; 12]The row’s pitch classes.
Implementations§
Trait Implementations§
Source§impl Clone for HistoricalRow
impl Clone for HistoricalRow
Source§fn clone(&self) -> HistoricalRow
fn clone(&self) -> HistoricalRow
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 moreSource§impl Debug for HistoricalRow
impl Debug for HistoricalRow
impl Eq for HistoricalRow
Source§impl PartialEq for HistoricalRow
impl PartialEq for HistoricalRow
impl StructuralPartialEq for HistoricalRow
Auto Trait Implementations§
impl Freeze for HistoricalRow
impl RefUnwindSafe for HistoricalRow
impl Send for HistoricalRow
impl Sync for HistoricalRow
impl Unpin for HistoricalRow
impl UnsafeUnpin for HistoricalRow
impl UnwindSafe for HistoricalRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more