Struct core::cell::BorrowRef [] [src]

struct BorrowRef<'b> {
    _borrow: &'b Cell<BorrowFlag>,
}

Fields

_borrow

Methods

impl<'b> BorrowRef<'b>

fn new(borrow: &'b Cell<BorrowFlag>) -> Option<BorrowRef<'b>>

Trait Implementations

impl<'b> Drop for BorrowRef<'b>

fn drop(&mut self)

impl<'b> Clone for BorrowRef<'b>

fn clone(&self) -> BorrowRef<'b>

fn clone_from(&mut self, source: &Self)