pub enum BarTogether {
Yes,
No,
Mensurstrich,
}Expand description
How a staff group’s barlines are drawn: music21’s barTogether.
Variants§
Yes
Barlines run through every staff of the group.
No
Each staff is barred on its own.
Mensurstrich
Barlines run between the staves but not through them.
Implementations§
Trait Implementations§
Source§impl Clone for BarTogether
impl Clone for BarTogether
impl Copy for BarTogether
Source§impl Debug for BarTogether
impl Debug for BarTogether
Source§impl<'de> Deserialize<'de> for BarTogether
Available on crate feature serde only.
impl<'de> Deserialize<'de> for BarTogether
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BarTogether
Source§impl Hash for BarTogether
impl Hash for BarTogether
Source§impl PartialEq for BarTogether
impl PartialEq for BarTogether
Source§impl Serialize for BarTogether
Available on crate feature serde only.
impl Serialize for BarTogether
Available on crate feature
serde only.impl StructuralPartialEq for BarTogether
Auto Trait Implementations§
impl Freeze for BarTogether
impl RefUnwindSafe for BarTogether
impl Send for BarTogether
impl Sync for BarTogether
impl Unpin for BarTogether
impl UnsafeUnpin for BarTogether
impl UnwindSafe for BarTogether
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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