pub struct Reference<T> {
pub value: Rc<T>,
pub id: usize,
}Fields§
§value: Rc<T>§id: usizeAuto Trait Implementations§
impl<T> Freeze for Reference<T>
impl<T> RefUnwindSafe for Reference<T>where
T: RefUnwindSafe,
impl<T> !Send for Reference<T>
impl<T> !Sync for Reference<T>
impl<T> Unpin for Reference<T>
impl<T> UnwindSafe for Reference<T>where
T: RefUnwindSafe,
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