Enum aoko::no_std::algebraic::sum::TimeUnit[][src]

pub enum TimeUnit {
    Nanos,
    Micros,
    Millis,
    Secs,
}

Variants

Nanos

Micros

Millis

Secs

Trait Implementations

Formats the value using the given formatter. Read more

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Chainable drop

Convert value to Some(value)

Convert value to Ok(value)

Convert value to Err(value)

Convert value to Box::new(value)

Convert value to Cell(value)

Convert value to RefCell(value)

Convert value to Rc::new(value)

Convert value to Arc::new(value)

Returns the name of a type as a string slice. Read more

Returns the size of a type in bytes. Read more

Returns Some(self) if it satisfies the given predicate function, or None if it doesn’t. Read more

Returns Some(self) if it doesn’t satisfy the given predicate function, or None if it does. Read more

Performs operation f with &self, returns the closure result. Read more

Performs operation f with &mut self, returns the closure result. Read more

Consumes self, performs operation f with it, returns the closure result. Read more

Consumes self, performs operation f with it, returns the receiver. Read more

Consumes self, performs operation f on it, returns the updated value. Read more

The Y Combinator Read more

Returns Some(f()) if it satisfies the given predicate function, or None if it doesn’t. Read more

Returns Some(f()) if it doesn’t satisfy the given predicate function, or None if it does. 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 alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

System output -> with :#?’s println!. Read more

System output -> with :?’s println!. Read more

Consumes self, println! as it is, returns self.

Executes the given closure block and returns the duration of elapsed time interval.

Executes the given closure block, returns the result of the closure execution and the duration of elapsed time interval. Read more

Executes the given closure block, returns the receiver self and the duration of elapsed time interval. Read more

Executes the given closure block, returns the receiver self and the duration of elapsed time interval. Read more

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.