Struct accountable_refcell::Ref [] [src]

pub struct Ref<'a, T: ?Sized + 'a> { /* fields omitted */ }

An immutable reference to the value stored in a RefCell.

Methods

impl<'a, T: ?Sized> Ref<'a, T>
[src]

[src]

Clone the provided Ref value. This is treated as a separate borrow record from the original cloned reference.

Trait Implementations

impl<'a, T: ?Sized + Display> Display for Ref<'a, T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'b, T: ?Sized + Debug> Debug for Ref<'b, T>
[src]

[src]

Formats the value using the given formatter.

impl<'a, T: ?Sized> Deref for Ref<'a, T>
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.

impl<'a, T: ?Sized> Drop for Ref<'a, T>
[src]

[src]

Executes the destructor for this type. Read more