pub struct IntervalForm {
pub intervals: Vec<(PitchClass, PitchClass, u8)>,
}Expand description
Pairwise directed pitch-class intervals.
Fields§
§intervals: Vec<(PitchClass, PitchClass, u8)>Ordered pitch-class pairs and directed semitone distances from the first pitch class to the second.
Trait Implementations§
Source§impl Clone for IntervalForm
impl Clone for IntervalForm
Source§fn clone(&self) -> IntervalForm
fn clone(&self) -> IntervalForm
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 IntervalForm
impl Debug for IntervalForm
impl Eq for IntervalForm
Source§impl Hash for IntervalForm
impl Hash for IntervalForm
Source§impl PartialEq for IntervalForm
impl PartialEq for IntervalForm
impl StructuralPartialEq for IntervalForm
Auto Trait Implementations§
impl Freeze for IntervalForm
impl RefUnwindSafe for IntervalForm
impl Send for IntervalForm
impl Sync for IntervalForm
impl Unpin for IntervalForm
impl UnsafeUnpin for IntervalForm
impl UnwindSafe for IntervalForm
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