pub enum BarStyle {
RepeatOpen,
RepeatClose,
Closing(BarlineType),
}Expand description
What a barline Style does to the measure: music21’s
createBarlines.
Variants§
RepeatOpen
The next measure opens with a start repeat.
RepeatClose
The measure closes with an end repeat.
Closing(BarlineType)
The measure closes with a barline of this kind.
Trait Implementations§
impl Copy for BarStyle
impl Eq for BarStyle
impl StructuralPartialEq for BarStyle
Auto Trait Implementations§
impl Forget for BarStyle
impl Freeze for BarStyle
impl Move for BarStyle
impl RefUnwindSafe for BarStyle
impl Send for BarStyle
impl Sync for BarStyle
impl Unpin for BarStyle
impl UnsafeUnpin for BarStyle
impl UnwindSafe for BarStyle
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