pub struct NotationSpanner {
pub id: String,
pub kind: NotationSpannerKind,
pub start: NoteAddr,
pub end: NoteAddr,
pub number: Option<u16>,
pub line_type: Option<String>,
pub text: Option<String>,
pub placement: Option<String>,
pub ottava_size: Option<u8>,
pub ottava_type: Option<String>,
}Expand description
A typed, potentially cross-staff notation span between two canonical note addresses.
Fields§
§id: String§kind: NotationSpannerKind§start: NoteAddr§end: NoteAddr§number: Option<u16>§line_type: Option<String>§text: Option<String>§placement: Option<String>§ottava_size: Option<u8>§ottava_type: Option<String>MusicXML octave-shift direction (up or down) when this is an ottava span.
Trait Implementations§
Source§impl Clone for NotationSpanner
impl Clone for NotationSpanner
Source§impl Debug for NotationSpanner
impl Debug for NotationSpanner
Source§impl<'de> Deserialize<'de> for NotationSpanner
impl<'de> Deserialize<'de> for NotationSpanner
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 NotationSpanner
Source§impl PartialEq for NotationSpanner
impl PartialEq for NotationSpanner
Source§impl Serialize for NotationSpanner
impl Serialize for NotationSpanner
impl StructuralPartialEq for NotationSpanner
Auto Trait Implementations§
impl Freeze for NotationSpanner
impl RefUnwindSafe for NotationSpanner
impl Send for NotationSpanner
impl Sync for NotationSpanner
impl Unpin for NotationSpanner
impl UnsafeUnpin for NotationSpanner
impl UnwindSafe for NotationSpanner
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