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]

[src]

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

[src]

The number of Ticks in a single Bar with this TimeSig.

Trait Implementations

impl Debug for TimeSig
[src]

[src]

Formats the value using the given formatter.

impl Copy for TimeSig
[src]

impl Clone for TimeSig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TimeSig
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for TimeSig
[src]

impl Hash for TimeSig
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more