Struct slos_helpers::UnsafeContainer[][src]

pub struct UnsafeContainer<T: ?Sized>(_);
Expand description

Container usable as a static that allows getting a mutable reference to it’s interior value.

Implementations

Create a new container.

Consume this container and return the interior value.

Replace the interior value, returning the old one

Get a mutable reference to the interior value.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The resulting type after dereferencing.

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.