pub struct PhantomNotSend { /* private fields */ }
Expand description
A marker type that implements !Send
.
Construct it using Default::default().
Trait Implementations§
Source§impl Default for PhantomNotSend
impl Default for PhantomNotSend
Source§fn default() -> PhantomNotSend
fn default() -> PhantomNotSend
Returns the “default value” for a type. Read more
impl Sync for PhantomNotSend
Auto Trait Implementations§
impl Freeze for PhantomNotSend
impl RefUnwindSafe for PhantomNotSend
impl !Send for PhantomNotSend
impl Unpin for PhantomNotSend
impl UnwindSafe for PhantomNotSend
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