pub enum RespellPolicy {
Flat,
Sharp,
Key,
}Expand description
Spelling policy for respell_staff_region.
Variants§
Flat
Spell black-key pitches with flats.
Sharp
Spell black-key pitches with sharps.
Key
Follow the key signature in effect at each measure: flat keys use flats, others sharps.
Trait Implementations§
Source§impl Clone for RespellPolicy
impl Clone for RespellPolicy
impl Copy for RespellPolicy
Source§impl Debug for RespellPolicy
impl Debug for RespellPolicy
Source§impl<'de> Deserialize<'de> for RespellPolicy
impl<'de> Deserialize<'de> for RespellPolicy
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 RespellPolicy
Source§impl PartialEq for RespellPolicy
impl PartialEq for RespellPolicy
Source§impl Serialize for RespellPolicy
impl Serialize for RespellPolicy
impl StructuralPartialEq for RespellPolicy
Auto Trait Implementations§
impl Freeze for RespellPolicy
impl RefUnwindSafe for RespellPolicy
impl Send for RespellPolicy
impl Sync for RespellPolicy
impl Unpin for RespellPolicy
impl UnsafeUnpin for RespellPolicy
impl UnwindSafe for RespellPolicy
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