Struct tune::tuning::LinearMapping
source · [−]pub struct LinearMapping<T> { /* private fields */ }
Expand description
Type adapter returned by Tuning::as_linear_mapping
.
Trait Implementations
sourceimpl<K, T: Tuning<K>> KeyboardMapping<K> for LinearMapping<T>
impl<K, T: Tuning<K>> KeyboardMapping<K> for LinearMapping<T>
sourcefn maybe_pitch_of(&self, key: K) -> Option<Pitch>
fn maybe_pitch_of(&self, key: K) -> Option<Pitch>
Returns the Pitch
of the provided key or note.
Auto Trait Implementations
impl<T> RefUnwindSafe for LinearMapping<T> where
T: RefUnwindSafe,
impl<T> Send for LinearMapping<T> where
T: Send,
impl<T> Sync for LinearMapping<T> where
T: Sync,
impl<T> Unpin for LinearMapping<T> where
T: Unpin,
impl<T> UnwindSafe for LinearMapping<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more