pub struct MiscTandem { /* private fields */ }Expand description
An instruction kept in the score where it was written: music21’s
MiscTandem.
Its priority is the line it was written on, as music21 gives it.
use music21::humdrum::MiscTandem;
let tandem = MiscTandem::new("*staff1", 2);
assert_eq!(tandem.tandem(), "*staff1");
assert_eq!(tandem.priority(), 2);Implementations§
Trait Implementations§
Source§impl Clone for MiscTandem
impl Clone for MiscTandem
Source§impl Debug for MiscTandem
impl Debug for MiscTandem
Source§impl Default for MiscTandem
impl Default for MiscTandem
Source§impl<'de> Deserialize<'de> for MiscTandem
Available on crate feature serde only.
impl<'de> Deserialize<'de> for MiscTandem
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 MiscTandem
Source§impl From<MiscTandem> for StreamElement
impl From<MiscTandem> for StreamElement
Source§fn from(value: MiscTandem) -> Self
fn from(value: MiscTandem) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MiscTandem
impl PartialEq for MiscTandem
Source§impl Serialize for MiscTandem
Available on crate feature serde only.
impl Serialize for MiscTandem
Available on crate feature
serde only.impl StructuralPartialEq for MiscTandem
Auto Trait Implementations§
impl Forget for MiscTandem
impl Freeze for MiscTandem
impl RefUnwindSafe for MiscTandem
impl Send for MiscTandem
impl Sync for MiscTandem
impl Unpin for MiscTandem
impl UnsafeUnpin for MiscTandem
impl UnwindSafe for MiscTandem
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