kvarn_async::prelude::compact_str::core::cell

Struct Ref

1.6.0 · source
pub struct Ref<'b, T>
where T: 'b + ?Sized,
{ /* private fields */ }
Expand description

Wraps a borrowed reference to a value in a RefCell box. A wrapper type for an immutably borrowed value from a RefCell<T>.

See the module-level documentation for more.

Implementations§

source§

impl<'b, T> Ref<'b, T>
where T: ?Sized,

1.15.0 · source

pub fn clone(orig: &Ref<'b, T>) -> Ref<'b, T>