pub struct PhantomUnwindUnsafe(/* private fields */);
Expand description
A marker type which does not implement UnwindSafe
.
If a type contains a PhantomUnwindUnsafe
, it will not implement
UnwindSafe
by default.
Implementations§
Trait Implementations§
Source§impl Clone for PhantomUnwindUnsafe
impl Clone for PhantomUnwindUnsafe
Source§fn clone(&self) -> PhantomUnwindUnsafe
fn clone(&self) -> PhantomUnwindUnsafe
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PhantomUnwindUnsafe
impl Debug for PhantomUnwindUnsafe
Source§impl Default for PhantomUnwindUnsafe
impl Default for PhantomUnwindUnsafe
Source§fn default() -> PhantomUnwindUnsafe
fn default() -> PhantomUnwindUnsafe
Returns the “default value” for a type. Read more
Source§impl Hash for PhantomUnwindUnsafe
impl Hash for PhantomUnwindUnsafe
Source§impl Ord for PhantomUnwindUnsafe
impl Ord for PhantomUnwindUnsafe
Source§fn cmp(&self, other: &PhantomUnwindUnsafe) -> Ordering
fn cmp(&self, other: &PhantomUnwindUnsafe) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PhantomUnwindUnsafe
impl PartialEq for PhantomUnwindUnsafe
Source§impl PartialOrd for PhantomUnwindUnsafe
impl PartialOrd for PhantomUnwindUnsafe
impl Copy for PhantomUnwindUnsafe
impl Eq for PhantomUnwindUnsafe
impl StructuralPartialEq for PhantomUnwindUnsafe
Auto Trait Implementations§
impl Freeze for PhantomUnwindUnsafe
impl RefUnwindSafe for PhantomUnwindUnsafe
impl Send for PhantomUnwindUnsafe
impl Sync for PhantomUnwindUnsafe
impl Unpin for PhantomUnwindUnsafe
impl !UnwindSafe for PhantomUnwindUnsafe
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