AsPitch

Trait AsPitch 

Source
pub trait AsPitch<T>
where T: RawPitch,
{ // Required method fn as_pitch(&self) -> Pitch<T>; }
Expand description

A trait for converting a reference into a Pitch.

Required Methods§

Source

fn as_pitch(&self) -> Pitch<T>

Implementors§

Source§

impl<U, T> AsPitch<T> for U
where U: Clone + IntoPitch<T>, T: RawPitch,