Trait sublock::prooflock::ProofBorrow
[−]
[src]
pub trait ProofBorrow<P, T> { fn borrow<'a>(&'a self, proof: &P) -> Ref<'a, T>; }
A trait specifying that a structure supports immutable borrowing if some proof is provided.
Required Methods
Implementors
impl<'b, T> ProofBorrow<Proof<'b>, T> for SubCell<T>
impl<'b, T> ProofBorrow<ProofMut<'b>, T> for SubCell<T>