Struct accountable_refcell::Ref
source · pub struct Ref<'a, T: ?Sized + 'a> {
pub(crate) inner: Ref<'a, T>,
pub(crate) data: RefBorrowData<'a>,
}
Expand description
An immutable reference to the value stored in a RefCell.
Fields§
§inner: Ref<'a, T>
§data: RefBorrowData<'a>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for Ref<'a, T>where
T: ?Sized,
impl<'a, T> !RefUnwindSafe for Ref<'a, T>
impl<'a, T> !Send for Ref<'a, T>
impl<'a, T> !Sync for Ref<'a, T>
impl<'a, T> Unpin for Ref<'a, T>where
T: ?Sized,
impl<'a, T> !UnwindSafe for Ref<'a, T>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more