pub struct GapForm {
pub gaps: Vec<u8>,
pub zero_gap_policy: ZeroGapPolicy,
}Expand description
Directed interval steps between adjacent pitch classes in a cyclic ordering.
Fields§
§gaps: Vec<u8>Adjacent cyclic semitone gaps. The sum is 12 for duplicate-free
pitch-class forms and may include zero entries when multiplicity is
preserved.
zero_gap_policy: ZeroGapPolicyThe policy used to decide whether adjacent equal pitch classes produce a zero gap.
Trait Implementations§
impl Eq for GapForm
impl StructuralPartialEq for GapForm
Auto Trait Implementations§
impl Freeze for GapForm
impl RefUnwindSafe for GapForm
impl Send for GapForm
impl Sync for GapForm
impl Unpin for GapForm
impl UnsafeUnpin for GapForm
impl UnwindSafe for GapForm
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