Struct time_calc::time_sig::TimeSig [] [src]

pub struct TimeSig {
    pub top: Top,
    pub bottom: Bottom,
}

Represents a musical time signature.

Fields

Methods

impl TimeSig
[src]

Return how many beats there are in a bar under this time signature.

Trait Implementations

impl Debug for TimeSig
[src]

Formats the value using the given formatter.

impl Copy for TimeSig
[src]

impl Clone for TimeSig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TimeSig
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for TimeSig
[src]

impl Hash for TimeSig
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.