pub struct Indices {
pub subtree_start: usize,
pub payload_start: usize,
pub payload_stop: usize,
pub subtree_stop: usize,
}Expand description
Where the elements under a node stand in the tree’s order, as slice
bounds: music21’s subtreeElementsStartIndex, its payload’s start and
stop, and subtreeElementsStopIndex.
Fields§
§subtree_start: usizeThe first element of the subtree.
payload_start: usizeThe first element of the node’s own payload.
payload_stop: usizeOne past its payload’s last.
subtree_stop: usizeOne past the subtree’s last.
Trait Implementations§
impl Copy for Indices
impl Eq for Indices
impl StructuralPartialEq for Indices
Auto Trait Implementations§
impl Forget for Indices
impl Freeze for Indices
impl Move for Indices
impl RefUnwindSafe for Indices
impl Send for Indices
impl Sync for Indices
impl Unpin for Indices
impl UnsafeUnpin for Indices
impl UnwindSafe for Indices
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