Struct time_calc::time_sig::TimeSig
[−]
[src]
pub struct TimeSig { pub top: Top, pub bottom: Bottom, }
Represents a musical time signature.
Fields
top: Top
bottom: Bottom
Methods
impl TimeSig
[src]
fn beats_in_a_bar(&self) -> f64
Return how many beats there are in a bar under this time signature.
Trait Implementations
impl Eq for TimeSig
[src]
impl PartialEq for TimeSig
[src]
fn eq(&self, __arg_0: &TimeSig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TimeSig) -> bool
This method tests for !=
.
impl Decodable for TimeSig
[src]
impl Encodable for TimeSig
[src]
impl Clone for TimeSig
[src]
fn clone(&self) -> TimeSig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more