pub struct SpannersRead {
pub returned: Vec<SpannerId>,
pub started: Vec<SpannerId>,
pub marks: Vec<(usize, FloatType, PedalObject)>,
}Available on crate feature
musicxml only.Expand description
What one step of spanner reading did: the spanners it handed back and the ones it began, and the pedal’s bounces and gaps it put in the measure, each with its uid and offset.
Fields§
§returned: Vec<SpannerId>What the step hands back, as music21’s does: the spanners a
direction begins, or the one xmlOneSpanner found or made.
started: Vec<SpannerId>Every spanner begun, in order.
marks: Vec<(usize, FloatType, PedalObject)>Each pedal bounce or gap put in, with its uid and offset.
Trait Implementations§
Source§impl Clone for SpannersRead
impl Clone for SpannersRead
Source§impl Debug for SpannersRead
impl Debug for SpannersRead
Auto Trait Implementations§
impl Forget for SpannersRead
impl Freeze for SpannersRead
impl Move for SpannersRead
impl RefUnwindSafe for SpannersRead
impl Send for SpannersRead
impl Sync for SpannersRead
impl Unpin for SpannersRead
impl UnsafeUnpin for SpannersRead
impl UnwindSafe for SpannersRead
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