Struct lrs::share::CopyCell

A container with interior mutability for Copy types.

Syntax

struct CopyCell<T>
    where T: Copy,
{
    /* private fields */
}

Static methods

NameDescription
new

Creates a new CopyCell.

Methods

ReceiverNameDescription
&selfget

Returns a copy of the contained data.

&selfset

Modifies the contained data.