pub struct CrossStaff {
pub target_staff: usize,
pub target_voice: Option<usize>,
}Expand description
Cross-staff placement metadata. The note remains in its source staff, so its stable playback address continues to identify the original note.
Fields§
§target_staff: usize§target_voice: Option<usize>Trait Implementations§
Source§impl Clone for CrossStaff
impl Clone for CrossStaff
Source§fn clone(&self) -> CrossStaff
fn clone(&self) -> CrossStaff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CrossStaff
impl Debug for CrossStaff
Source§impl<'de> Deserialize<'de> for CrossStaff
impl<'de> Deserialize<'de> for CrossStaff
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 CrossStaff
Source§impl PartialEq for CrossStaff
impl PartialEq for CrossStaff
Source§impl Serialize for CrossStaff
impl Serialize for CrossStaff
impl StructuralPartialEq for CrossStaff
Auto Trait Implementations§
impl Freeze for CrossStaff
impl RefUnwindSafe for CrossStaff
impl Send for CrossStaff
impl Sync for CrossStaff
impl Unpin for CrossStaff
impl UnsafeUnpin for CrossStaff
impl UnwindSafe for CrossStaff
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