pub struct Member {
pub duration: String,
pub position: i32,
pub alteration: String,
pub tie: &'static str,
pub stem_length: u8,
}Expand description
A note as a chord or a staff holds it.
Fields§
§duration: StringIts Dur text: music21’s durationStr.
position: i32Its staff position: music21’s pos.
alteration: StringThe alteration in force there: music21’s alterationStr.
tie: &'static str^ where it is tied on: music21’s tieInfo.
stem_length: u8Its stem length.
Implementations§
Trait Implementations§
impl Eq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations§
impl Forget for Member
impl Freeze for Member
impl Move for Member
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnsafeUnpin for Member
impl UnwindSafe for Member
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