Struct sublock::prooflock::SubCell
[−]
[src]
pub struct SubCell<T> { // some fields omitted }
Methods
impl<T> SubCell<T>
Trait Implementations
impl<'b, T> ProofBorrow<Proof<'b>, T> for SubCell<T>
impl<'b, T> ProofBorrow<ProofMut<'b>, T> for SubCell<T>
impl<'b, T> ProofBorrowMut<ProofMut<'b>, T> for SubCell<T>
fn borrow_mut<'a>(&'a self, proof: &ProofMut<'b>) -> RefMut<'a, T>
impl<T> Send for SubCell<T> where T: Send + Sync
With respect to Send and Sync, SubCell behaves as a RwLock.
impl<T> Sync for SubCell<T> where T: Send + Sync
With respect to Send and Sync, SubCell behaves as a RwLock.