Struct bombs::Flame

source ·
pub struct Flame { /* private fields */ }
Expand description

Result of a bomb explosion.

Flame is a handle returned by Fuse<T>::light(), which allows to check whether all bombs have been extinguished (dropped).

Implementations§

Checks if the exploded Bombs have been extinguished (dropped).

For MultiBombs, this will return true as soon as each MultiBomb has exploded with the value associated with this Flame, as the inner Bomb is dropped immediately (and replaced with a new one).

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.