[][src]Struct stopwatch::Stopwatch

struct Stopwatch {
    duration: Duration,
    state: State,
    toggle: State,
    reset: State,
}

Fields

duration: Durationstate: Statetoggle: Statereset: State

Trait Implementations

impl Application for Stopwatch[src]

type Executor = Default

The [Executor] that will run commands and subscriptions. Read more

type Message = Message

The type of messages your [Application] will produce. Read more

type Flags = ()

The data needed to initialize your [Application]. Read more

Auto Trait Implementations

impl RefUnwindSafe for Stopwatch

impl Send for Stopwatch

impl Sync for Stopwatch

impl Unpin for Stopwatch

impl UnwindSafe for Stopwatch

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Application for T where
    T: Sandbox
[src]

type Executor = Null

The [Executor] that will run commands and subscriptions. Read more

type Flags = ()

The data needed to initialize your [Application]. Read more

type Message = <T as Sandbox>::Message

The type of messages your [Application] will produce. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> ConvertInto<U> for T where
    U: ConvertFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,