Struct embedded_time::duration::Milliseconds[][src]

pub struct Milliseconds<T: TimeInt = u32>(pub T);
Expand description

A duration unit type

Tuple Fields

0: T

Implementations

Trait Implementations

The resulting type after applying the + operator.

Performs the + operation. Read more

See Add/Sub

The resulting type after applying the + operator.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

See Mul/Div

The resulting type after applying the / operator.

Construct a Generic Duration from a named Duration (eg. Milliseconds) Read more

Convert to named Rate Read more

The integer (magnitude) type

The fractional scaling factor

Multiply with overflow checking

Multiply with overflow checking

Returns the minimum integer value

Returns the maximum integer value

Feeds this value into the given Hasher. Read more

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

See Mul/Div

The resulting type after applying the * operator.

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

This method tests for !=.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The resulting type after applying the % operator.

See Add/Sub

The resulting type after applying the - operator.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.