#[repr(C)]pub struct NonAtomic(Cell<usize>);
Expand description
A marker of a non-atomic tendril.
This is the default for the second type parameter of a Tendril
and so doesn’t typically need to be written.
This is akin to using Rc
for reference counting.
Tuple Fields§
§0: Cell<usize>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for NonAtomic
impl !RefUnwindSafe for NonAtomic
impl Send for NonAtomic
impl !Sync for NonAtomic
impl Unpin for NonAtomic
impl UnwindSafe for NonAtomic
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