pub struct NonExhaustive<'a>(/* private fields */);
Trait Implementations§
Source§impl<'a> Clone for NonExhaustive<'a>
impl<'a> Clone for NonExhaustive<'a>
Source§fn clone(&self) -> NonExhaustive<'a>
fn clone(&self) -> NonExhaustive<'a>
Returns a duplicate 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 NonExhaustive<'_>
impl Debug for NonExhaustive<'_>
Source§impl<'a> PartialEq for NonExhaustive<'a>
impl<'a> PartialEq for NonExhaustive<'a>
impl<'a> Copy for NonExhaustive<'a>
impl<'a> Eq for NonExhaustive<'a>
impl<'a> StructuralPartialEq for NonExhaustive<'a>
Auto Trait Implementations§
impl<'a> Freeze for NonExhaustive<'a>
impl<'a> RefUnwindSafe for NonExhaustive<'a>
impl<'a> Send for NonExhaustive<'a>
impl<'a> Sync for NonExhaustive<'a>
impl<'a> Unpin for NonExhaustive<'a>
impl<'a> UnwindSafe for NonExhaustive<'a>
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