pub struct PhantomRefUnwindUnsafe(/* private fields */);
Expand description
A marker type which does not implement RefUnwindSafe
.
If a type contains a PhantomRefUnwindUnsafe
, it will not implement
RefUnwindSafe
by default.
Implementations§
Trait Implementations§
Source§impl Clone for PhantomRefUnwindUnsafe
impl Clone for PhantomRefUnwindUnsafe
Source§fn clone(&self) -> PhantomRefUnwindUnsafe
fn clone(&self) -> PhantomRefUnwindUnsafe
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 PhantomRefUnwindUnsafe
impl Debug for PhantomRefUnwindUnsafe
Source§impl Default for PhantomRefUnwindUnsafe
impl Default for PhantomRefUnwindUnsafe
Source§fn default() -> PhantomRefUnwindUnsafe
fn default() -> PhantomRefUnwindUnsafe
Returns the “default value” for a type. Read more
Source§impl Hash for PhantomRefUnwindUnsafe
impl Hash for PhantomRefUnwindUnsafe
Source§impl Ord for PhantomRefUnwindUnsafe
impl Ord for PhantomRefUnwindUnsafe
Source§fn cmp(&self, other: &PhantomRefUnwindUnsafe) -> Ordering
fn cmp(&self, other: &PhantomRefUnwindUnsafe) -> 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 PhantomRefUnwindUnsafe
impl PartialEq for PhantomRefUnwindUnsafe
Source§impl PartialOrd for PhantomRefUnwindUnsafe
impl PartialOrd for PhantomRefUnwindUnsafe
impl Copy for PhantomRefUnwindUnsafe
impl Eq for PhantomRefUnwindUnsafe
impl StructuralPartialEq for PhantomRefUnwindUnsafe
Auto Trait Implementations§
impl Freeze for PhantomRefUnwindUnsafe
impl !RefUnwindSafe for PhantomRefUnwindUnsafe
impl Send for PhantomRefUnwindUnsafe
impl Sync for PhantomRefUnwindUnsafe
impl Unpin for PhantomRefUnwindUnsafe
impl UnwindSafe for PhantomRefUnwindUnsafe
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