Struct time_calc::ms::Ms [] [src]

pub struct Ms(pub Ms);

Time representation in the form of Milliseconds.

Methods

impl Ms
[src]

[src]

Return the unit value of Ms.

[src]

Convert to the equivalent duration in Bars.

[src]

Convert to the equivalent duration in Beats.

[src]

Convert to unit value of Samples.

[src]

Convert to Samples.

[src]

Convert to unit value of Ticks.

[src]

Convert to Ticks.

Trait Implementations

impl Debug for Ms
[src]

[src]

Formats the value using the given formatter.

impl Copy for Ms
[src]

impl Clone for Ms
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Ms
[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 PartialOrd for Ms
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl From<Ms> for Ms
[src]

[src]

Performs the conversion.

impl Add for Ms
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl Sub for Ms
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl Mul for Ms
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl Div for Ms
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl Rem for Ms
[src]

The resulting type after applying the % operator.

[src]

Performs the % operation.

impl Neg for Ms
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl AddAssign for Ms
[src]

[src]

Performs the += operation.

impl SubAssign for Ms
[src]

[src]

Performs the -= operation.

impl MulAssign for Ms
[src]

[src]

Performs the *= operation.

impl DivAssign for Ms
[src]

[src]

Performs the /= operation.

impl RemAssign for Ms
[src]

[src]

Performs the %= operation.

impl ToPrimitive for Ms
[src]

[src]

Converts the value of self to an u64.

[src]

Converts the value of self to an i64.

[src]

Converts the value of self to an isize.

[src]

Converts the value of self to an i8.

[src]

Converts the value of self to an i16.

[src]

Converts the value of self to an i32.

[src]

Converts the value of self to a usize.

[src]

Converts the value of self to an u8.

[src]

Converts the value of self to an u16.

[src]

Converts the value of self to an u32.

[src]

Converts the value of self to an f32.

[src]

Converts the value of self to an f64.

impl FromPrimitive for Ms
[src]

[src]

Convert an u64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an i64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an isize to return an optional value of this type. If the value cannot be represented by this value, the None is returned. Read more

[src]

Convert an i8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an i16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an i32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert a usize to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an u8 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an u16 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert an u32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert a f32 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more

[src]

Convert a f64 to return an optional value of this type. If the type cannot be represented by this value, the None is returned. Read more