Method lrs::rc::RcBuf::set

Stores a value in the buffer, creating a real Rc.

Syntax

impl<T, H> RcBuf<T, H>
    where T: Leak,
          H: Allocator,
{
    fn set(self, val: T) -> Rc<T, H>
}

Arguments

NameDescription
val

The value to be stored in the buffer.