fn interval(&self, from: i32, to: i32) -> Option<Cents> {
        match (self.pitch(from), self.pitch(to)) {
            (Some(to), Some(from)) => Some(to / from),
            _ => None,
        }
    }
/// Returns an interval from one step to another
Returns an interval from one step to another
Returns an interval from one step to another
fn interval(&self, from: i32, to: i32) -> Option<Cents> {
        match (self.pitch(from), self.pitch(to)) {
            (Some(to), Some(from)) => Some(to / from),
            _ => None,
        }
    }
fn interval ( & self , from : i32 , to : i32 ) -> Option < Cents > { match ( self . pitch ( from ) , self . pitch ( to ) ) { ( Some ( to ) , Some ( from ) ) => Some ( to / from ) , _ => None , } }
Returns an interval from one step to another
Returns an interval from one step to another
&self
from
i32
to
i32
&self
from
i32
to
i32