Mute

Enum Mute 

Source
pub enum Mute {
Show 15 variants On, Off, Bucket, Cup, Echo, HarmonNoStem, HarmonStem, Hat, Palm, Plunger, Practice, Solotone, StopHand, StopMute, Straight,
}
Expand description

Represents muting playback for different instruments, including brass, winds, and strings.

The On and Off values are used for undifferentiated mutes. The remaining values represent specific mutes.

Variants§

§

On

Represents an on-mute.

§

Off

Represents an off-mute.

§

Bucket

Represents a bucket mute.

§

Cup

Represents a cup mute.

§

Echo

Represents an echo mute.

§

HarmonNoStem

Represents a harmon no-stem mute.

§

HarmonStem

Represents a harmon stem mute.

§

Hat

Represents a hat mute.

§

Palm

Represents a palm mute.

§

Plunger

Represents a plunger mute.

§

Practice

Represents a practice mute.

§

Solotone

Represents a solotone mute.

§

StopHand

Represents a stop-hand mute.

§

StopMute

Represents a stop mute.

§

Straight

Represents a straight mute.

Trait Implementations§

Source§

impl DatatypeDeserializer for Mute

Source§

impl DatatypeSerializer for Mute

Source§

fn serialize(element: &Mute) -> String

Source§

impl Debug for Mute

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Mute

Source§

fn eq(&self, other: &Mute) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for Mute

Source§

impl StructuralPartialEq for Mute

Auto Trait Implementations§

§

impl Freeze for Mute

§

impl RefUnwindSafe for Mute

§

impl Send for Mute

§

impl Sync for Mute

§

impl Unpin for Mute

§

impl UnwindSafe for Mute

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.