pub struct DynamicVariable<T: 'static> { /* private fields */ }
Expand description

A global dynamic variable.

Declared and initialized by the fluid_let! macro.

See crate-level documentation for examples.

Implementations

Access current value of the dynamic variable.

Bind a new value to the dynamic variable.

Clone current value of the dynamic variable.

Copy current value of the dynamic variable.

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.