pub enum NoteModificationType {
Show 48 variants
Accent,
BrassBend,
DetachedLegato,
Doit,
DoubleTongue,
DownBow,
Dynamic {
dynamic: Dynamic,
},
Falloff,
Fermata,
Fingernails,
Flip,
Glissando {
from_current: bool,
going_up: bool,
},
Golpe,
Grace {
acciaccatura: bool,
},
HalfMuted,
Handbell {
technique: HandbellTechnique,
},
HarmonMute {
open: bool,
half: bool,
},
Haydn,
Heel,
Hole {
open: bool,
half: bool,
},
Marcato,
Mordent {
upper: bool,
},
Open,
Pizzicato,
Plop,
Portamento {
from_current: bool,
going_up: bool,
},
Schleifer,
Scoop,
Sforzando,
Shake,
Smear,
SoftAccent,
Spiccato,
Staccato,
Staccatissimo,
Stopped,
Stress,
Tap,
Tenuto,
ThumbPosition,
Tie,
Toe,
Tremolo {
relative_speed: u8,
},
Trill {
upper: bool,
},
TripleTongue,
Turn {
upper: bool,
delayed: bool,
vertical: bool,
},
Unstress,
UpBow,
}Expand description
Represents a type of modification to a note.
Variants§
Accent

BrassBend

DetachedLegato

Doit

DoubleTongue

DownBow

Dynamic
Represents a dynamic change that only affects the current note.
Falloff

Fermata

Fingernails

Flip

Glissando

Golpe

Grace


HalfMuted

Handbell
Represents a HandbellTechnique used in handbell playing.
Fields
§
technique: HandbellTechniqueHarmonMute
Open:
Half:
Closed:
Haydn

Heel

Hole
Open:
Half:
Closed:
Marcato

Mordent


Open

Pizzicato

Plop

Portamento

Schleifer

Scoop

Sforzando

Shake

Smear

SoftAccent

Spiccato

Staccato

Staccatissimo

Stopped

Stress

Tap

Tenuto

ThumbPosition
![]()
Tie

Toe

Tremolo

Trill

TripleTongue

Turn



Unstress

UpBow

Trait Implementations§
Source§impl Clone for NoteModificationType
impl Clone for NoteModificationType
Source§fn clone(&self) -> NoteModificationType
fn clone(&self) -> NoteModificationType
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 NoteModificationType
Source§impl Debug for NoteModificationType
impl Debug for NoteModificationType
Source§impl Default for NoteModificationType
impl Default for NoteModificationType
Source§fn default() -> NoteModificationType
fn default() -> NoteModificationType
Returns the “default value” for a type. Read more
Source§impl Display for NoteModificationType
Available on crate feature print only.
impl Display for NoteModificationType
Available on crate feature
print only.impl Eq for NoteModificationType
Source§impl JsonSerializer for NoteModificationType
impl JsonSerializer for NoteModificationType
fn serialize_json(&self) -> String
Source§impl Ord for NoteModificationType
impl Ord for NoteModificationType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NoteModificationType
impl PartialEq for NoteModificationType
Source§impl PartialOrd for NoteModificationType
impl PartialOrd for NoteModificationType
impl StructuralPartialEq for NoteModificationType
Auto Trait Implementations§
impl Freeze for NoteModificationType
impl RefUnwindSafe for NoteModificationType
impl Send for NoteModificationType
impl Sync for NoteModificationType
impl Unpin for NoteModificationType
impl UnsafeUnpin for NoteModificationType
impl UnwindSafe for NoteModificationType
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