Struct freertos_rs::DurationImpl [] [src]

pub struct DurationImpl<T> { /* fields omitted */ }

Time unit used by FreeRTOS, passed to the scheduler as ticks.

Methods

impl<T> DurationImpl<T> where
    T: FreeRtosTimeUnits + Copy
[src]

[src]

Milliseconds constructor

[src]

[src]

An infinite duration

[src]

A duration of zero, for non-blocking calls

[src]

Smallest unit of measurement, one tick

[src]

Trait Implementations

impl<T: Debug> Debug for DurationImpl<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: Copy> Copy for DurationImpl<T>
[src]

impl<T: Clone> Clone for DurationImpl<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for DurationImpl<T>
[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<T: Eq> Eq for DurationImpl<T>
[src]

impl<T> DurationTicks for DurationImpl<T> where
    T: FreeRtosTimeUnits + Copy
[src]

[src]

Convert to ticks, the internal time measurement unit of FreeRTOS