Struct atomic_interval::AtomicIntervalLight[][src]

pub struct AtomicIntervalLight { /* fields omitted */ }
Expand description

A relaxed version of AtomicInterval: for more information check that.

All Ordering are implicit: Ordering::Relaxed.

On some architecture this version is allowed to spuriously fail. It means AtomicIntervalLight::is_ticked might return false even if the period amount of time has passed. It can result in more efficient code on some platforms.

Implementations

Creates a new AtomicIntervalLight with a fixed period interval.

Changes the period of this interval.

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.