Struct bcount::Bc [] [src]

pub struct Bc<T> { /* fields omitted */ }

The borrow counter struct for type T.

Methods

impl<T> Bc<T>
[src]

Create a new Bc<T> containing the value val.

Reset the borrow counter

Get the number of time this structure has been mutably borrowed.

Trait Implementations

impl<T> Deref for Bc<T>
[src]

The resulting type after dereferencing

The method called to dereference a value

impl<T> DerefMut for Bc<T>
[src]

The method called to mutably dereference a value