pub enum ZeroGapPolicy {
CollapseDuplicates,
PreserveMultiplicity,
}Expand description
How zero-sized gaps are represented.
Variants§
CollapseDuplicates
Collapse duplicate pitch classes; zero gaps never appear.
PreserveMultiplicity
Preserve adjacent duplicate pitch classes as explicit zero gaps.
Trait Implementations§
Source§impl Clone for ZeroGapPolicy
impl Clone for ZeroGapPolicy
Source§fn clone(&self) -> ZeroGapPolicy
fn clone(&self) -> ZeroGapPolicy
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 ZeroGapPolicy
Source§impl Debug for ZeroGapPolicy
impl Debug for ZeroGapPolicy
impl Eq for ZeroGapPolicy
Source§impl Hash for ZeroGapPolicy
impl Hash for ZeroGapPolicy
Source§impl PartialEq for ZeroGapPolicy
impl PartialEq for ZeroGapPolicy
impl StructuralPartialEq for ZeroGapPolicy
Auto Trait Implementations§
impl Freeze for ZeroGapPolicy
impl RefUnwindSafe for ZeroGapPolicy
impl Send for ZeroGapPolicy
impl Sync for ZeroGapPolicy
impl Unpin for ZeroGapPolicy
impl UnsafeUnpin for ZeroGapPolicy
impl UnwindSafe for ZeroGapPolicy
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