Enum petitset::SuccesfulSetInsertion
source · [−]Expand description
The Ok
result of a successful PetitSet
insertion operation
Variants
NovelElenent(usize)
This is a new element: it is stored at the provided index
ExtantElement(usize)
This element was already in the set: it is stored at the provided index
Trait Implementations
sourceimpl Clone for SuccesfulSetInsertion
impl Clone for SuccesfulSetInsertion
sourcefn clone(&self) -> SuccesfulSetInsertion
fn clone(&self) -> SuccesfulSetInsertion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SuccesfulSetInsertion
impl Debug for SuccesfulSetInsertion
sourceimpl PartialEq<SuccesfulSetInsertion> for SuccesfulSetInsertion
impl PartialEq<SuccesfulSetInsertion> for SuccesfulSetInsertion
sourcefn eq(&self, other: &SuccesfulSetInsertion) -> bool
fn eq(&self, other: &SuccesfulSetInsertion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SuccesfulSetInsertion) -> bool
fn ne(&self, other: &SuccesfulSetInsertion) -> bool
This method tests for !=
.
impl Copy for SuccesfulSetInsertion
impl Eq for SuccesfulSetInsertion
impl StructuralEq for SuccesfulSetInsertion
impl StructuralPartialEq for SuccesfulSetInsertion
Auto Trait Implementations
impl RefUnwindSafe for SuccesfulSetInsertion
impl Send for SuccesfulSetInsertion
impl Sync for SuccesfulSetInsertion
impl Unpin for SuccesfulSetInsertion
impl UnwindSafe for SuccesfulSetInsertion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more