pub enum BeamDirection {
Left,
Right,
}Expand description
Which way a partial beam points: music21’s direction.
Variants§
Implementations§
Source§impl BeamDirection
impl BeamDirection
Trait Implementations§
Source§impl Clone for BeamDirection
impl Clone for BeamDirection
Source§fn clone(&self) -> BeamDirection
fn clone(&self) -> BeamDirection
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 BeamDirection
Source§impl Debug for BeamDirection
impl Debug for BeamDirection
Source§impl<'de> Deserialize<'de> for BeamDirection
Available on crate feature serde only.
impl<'de> Deserialize<'de> for BeamDirection
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
Source§impl Display for BeamDirection
impl Display for BeamDirection
impl Eq for BeamDirection
Source§impl Hash for BeamDirection
impl Hash for BeamDirection
Source§impl PartialEq for BeamDirection
impl PartialEq for BeamDirection
Source§impl Serialize for BeamDirection
Available on crate feature serde only.
impl Serialize for BeamDirection
Available on crate feature
serde only.impl StructuralPartialEq for BeamDirection
Auto Trait Implementations§
impl Freeze for BeamDirection
impl RefUnwindSafe for BeamDirection
impl Send for BeamDirection
impl Sync for BeamDirection
impl Unpin for BeamDirection
impl UnsafeUnpin for BeamDirection
impl UnwindSafe for BeamDirection
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