pub struct ReBarred {
pub stream: Stream,
pub origins: Vec<Option<usize>>,
}Expand description
A part cut by re_bar_part, and where each of its leaves came from.
Fields§
§stream: StreamThe part, its measures cut.
origins: Vec<Option<usize>>For each of the part’s leaves in order, the leaf of the part read it was, where it was one: music21 cuts measures in place, so a note kept, or the first half of one cut, is the object it was.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ReBarred
impl Freeze for ReBarred
impl Move for ReBarred
impl RefUnwindSafe for ReBarred
impl Send for ReBarred
impl Sync for ReBarred
impl Unpin for ReBarred
impl UnsafeUnpin for ReBarred
impl UnwindSafe for ReBarred
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