pub struct ScoreFragmentSelection {
pub start: NoteAddr,
pub end: NoteAddr,
}Expand description
One inclusive, whole-measure voice range to extract.
The note indexes are retained as source provenance, but range boundaries are measure based. Partial-note selection is a host/UI concern and cannot be represented without splitting rhythmic values.
Fields§
§start: NoteAddr§end: NoteAddrTrait Implementations§
Source§impl Clone for ScoreFragmentSelection
impl Clone for ScoreFragmentSelection
Source§impl Debug for ScoreFragmentSelection
impl Debug for ScoreFragmentSelection
Source§impl<'de> Deserialize<'de> for ScoreFragmentSelection
impl<'de> Deserialize<'de> for ScoreFragmentSelection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScoreFragmentSelection
Source§impl PartialEq for ScoreFragmentSelection
impl PartialEq for ScoreFragmentSelection
Source§impl Serialize for ScoreFragmentSelection
impl Serialize for ScoreFragmentSelection
impl StructuralPartialEq for ScoreFragmentSelection
Auto Trait Implementations§
impl Freeze for ScoreFragmentSelection
impl RefUnwindSafe for ScoreFragmentSelection
impl Send for ScoreFragmentSelection
impl Sync for ScoreFragmentSelection
impl Unpin for ScoreFragmentSelection
impl UnsafeUnpin for ScoreFragmentSelection
impl UnwindSafe for ScoreFragmentSelection
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