Struct unwind_context::NonExhaustiveMarker
source · pub struct NonExhaustiveMarker;
Expand description
A marker type which is used in arguments list to indicate that there are some other arguments that are omitted.
It is formatted as a ...
placeholder.
This type is not intended to be used directly. Consider using macros like
build_unwind_context_data
or unwind_context
instead.
§Examples
let arg = unwind_context::UnwindContextArg::new(None, unwind_context::NonExhaustiveMarker);
Trait Implementations§
source§impl Clone for NonExhaustiveMarker
impl Clone for NonExhaustiveMarker
source§fn clone(&self) -> NonExhaustiveMarker
fn clone(&self) -> NonExhaustiveMarker
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 NonExhaustiveMarker
impl Debug for NonExhaustiveMarker
source§impl Default for NonExhaustiveMarker
impl Default for NonExhaustiveMarker
source§fn default() -> NonExhaustiveMarker
fn default() -> NonExhaustiveMarker
Returns the “default value” for a type. Read more
source§impl Hash for NonExhaustiveMarker
impl Hash for NonExhaustiveMarker
source§impl Ord for NonExhaustiveMarker
impl Ord for NonExhaustiveMarker
source§fn cmp(&self, other: &NonExhaustiveMarker) -> Ordering
fn cmp(&self, other: &NonExhaustiveMarker) -> 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 NonExhaustiveMarker
impl PartialEq for NonExhaustiveMarker
source§fn eq(&self, other: &NonExhaustiveMarker) -> bool
fn eq(&self, other: &NonExhaustiveMarker) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NonExhaustiveMarker
impl PartialOrd for NonExhaustiveMarker
source§fn partial_cmp(&self, other: &NonExhaustiveMarker) -> Option<Ordering>
fn partial_cmp(&self, other: &NonExhaustiveMarker) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for NonExhaustiveMarker
impl Eq for NonExhaustiveMarker
impl StructuralPartialEq for NonExhaustiveMarker
Auto Trait Implementations§
impl RefUnwindSafe for NonExhaustiveMarker
impl Send for NonExhaustiveMarker
impl Sync for NonExhaustiveMarker
impl Unpin for NonExhaustiveMarker
impl UnwindSafe for NonExhaustiveMarker
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