pub struct OpenSlur<M, H> {
pub start: H,
pub measure: M,
pub end: FloatType,
pub group: usize,
}Expand description
A slur begun and not yet joined: where it starts, the measure it starts in, where that note ends and its place in its group.
Fields§
§start: HThe note it starts at.
measure: MThe measure that note is in.
end: FloatTypeWhere that note ends.
group: usizeIts place among the notes placed with it.
Trait Implementations§
Auto Trait Implementations§
impl<M, H> Forget for OpenSlur<M, H>
impl<M, H> Freeze for OpenSlur<M, H>
impl<M, H> Move for OpenSlur<M, H>
impl<M, H> RefUnwindSafe for OpenSlur<M, H>where
H: RefUnwindSafe,
M: RefUnwindSafe,
impl<M, H> Send for OpenSlur<M, H>
impl<M, H> Sync for OpenSlur<M, H>
impl<M, H> Unpin for OpenSlur<M, H>
impl<M, H> UnsafeUnpin for OpenSlur<M, H>where
H: UnsafeUnpin,
M: UnsafeUnpin,
impl<M, H> UnwindSafe for OpenSlur<M, H>where
H: UnwindSafe,
M: UnwindSafe,
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