pub struct SortedTuning<S> { /* private fields */ }
Expand description

Type adapter returned by Scale::as_sorted_tuning.

Trait Implementations

Returns the Pitch of the given key or note K in the current Tuning. Read more

Finds a closest key or note Approximation for the given Pitch in the current Tuning. Read more

Wraps self in a type adapter s.t. it can be used in functions that are generic over KeyboardMapping<K>.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.