pub struct CellWrapper<T, K>where
T: 'static,{ /* private fields */ }
Expand description
Safe cell header wrapper. If you create a CellWrapper with new_uninit, you should call ensure_init to handle
Implementations§
Source§impl<T, K> CellWrapper<T, K>where
T: Cell + 'static,
impl<T, K> CellWrapper<T, K>where
T: Cell + 'static,
pub const unsafe fn _new_uninit(h: &'static T) -> Self
pub const fn new_dummy(dummy_header: &'static T) -> Self
Source§impl<T> CellWrapper<T, Forward>where
T: Cell + 'static,
impl<T> CellWrapper<T, Forward>where
T: Cell + 'static,
Source§impl<T> CellWrapper<T, Backward>where
T: Cell + 'static,
impl<T> CellWrapper<T, Backward>where
T: Cell + 'static,
Trait Implementations§
Auto Trait Implementations§
impl<T, K> !Freeze for CellWrapper<T, K>
impl<T, K> RefUnwindSafe for CellWrapper<T, K>where
T: RefUnwindSafe,
K: RefUnwindSafe,
impl<T, K> Send for CellWrapper<T, K>
impl<T, K> Sync for CellWrapper<T, K>
impl<T, K> Unpin for CellWrapper<T, K>where
K: Unpin,
impl<T, K> UnwindSafe for CellWrapper<T, K>where
T: RefUnwindSafe,
K: UnwindSafe,
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