pub enum OttavaKind {
Va8,
Vb8,
Ma15,
Mb15,
}Expand description
Ottava (octave transposition bracket).
Variants§
Va8
8va — sounds one octave higher than written.
Vb8
8vb — sounds one octave lower than written.
Ma15
15ma — sounds two octaves higher than written.
Mb15
15mb — sounds two octaves lower than written.
Implementations§
Source§impl OttavaKind
impl OttavaKind
pub fn musicxml_type(&self) -> &'static str
pub fn musicxml_size(&self) -> u8
Trait Implementations§
Source§impl Clone for OttavaKind
impl Clone for OttavaKind
Source§fn clone(&self) -> OttavaKind
fn clone(&self) -> OttavaKind
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 moreimpl Copy for OttavaKind
Source§impl Debug for OttavaKind
impl Debug for OttavaKind
Source§impl<'de> Deserialize<'de> for OttavaKind
impl<'de> Deserialize<'de> for OttavaKind
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
Source§impl PartialEq for OttavaKind
impl PartialEq for OttavaKind
Source§impl Serialize for OttavaKind
impl Serialize for OttavaKind
impl StructuralPartialEq for OttavaKind
Auto Trait Implementations§
impl Freeze for OttavaKind
impl RefUnwindSafe for OttavaKind
impl Send for OttavaKind
impl Sync for OttavaKind
impl Unpin for OttavaKind
impl UnsafeUnpin for OttavaKind
impl UnwindSafe for OttavaKind
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