Struct livemod::ModVarMutGuard[][src]

pub struct ModVarMutGuard<'a, T>(_, _);
Expand description

A mutable lock of a ModVar. Can be dereferenced to get the contained data, and modified.

The value is updated in the external viewer if and only if this guard is dereferenced mutably.

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

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.