pub enum DuplicateTreatment {
Fatal,
FirstWins,
Idempotent,
}Expand description
Treatment of a duplicated recognized option.
Variants§
Fatal
Identity, sequencing, or reference semantics: duplication is fatal.
FirstWins
Presentation: first occurrence wins, later ones are diagnostics.
Idempotent
Zero-length flag: duplicates are idempotent.
Trait Implementations§
Source§impl Clone for DuplicateTreatment
impl Clone for DuplicateTreatment
Source§fn clone(&self) -> DuplicateTreatment
fn clone(&self) -> DuplicateTreatment
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DuplicateTreatment
impl Debug for DuplicateTreatment
Source§impl PartialEq for DuplicateTreatment
impl PartialEq for DuplicateTreatment
impl Copy for DuplicateTreatment
impl Eq for DuplicateTreatment
impl StructuralPartialEq for DuplicateTreatment
Auto Trait Implementations§
impl Freeze for DuplicateTreatment
impl RefUnwindSafe for DuplicateTreatment
impl Send for DuplicateTreatment
impl Sync for DuplicateTreatment
impl Unpin for DuplicateTreatment
impl UnwindSafe for DuplicateTreatment
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)