Enum nyar_error::DuplicateKind
source · pub enum DuplicateKind {
Type = 1_002,
Function = 1_003,
Variable = 1_004,
Key = 1_005,
}
Variants§
Trait Implementations§
source§impl Clone for DuplicateKind
impl Clone for DuplicateKind
source§fn clone(&self) -> DuplicateKind
fn clone(&self) -> DuplicateKind
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 DuplicateKind
impl Debug for DuplicateKind
source§impl Display for DuplicateKind
impl Display for DuplicateKind
source§impl PartialEq for DuplicateKind
impl PartialEq for DuplicateKind
source§fn eq(&self, other: &DuplicateKind) -> bool
fn eq(&self, other: &DuplicateKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DuplicateKind
impl Eq for DuplicateKind
impl StructuralEq for DuplicateKind
impl StructuralPartialEq for DuplicateKind
Auto Trait Implementations§
impl RefUnwindSafe for DuplicateKind
impl Send for DuplicateKind
impl Sync for DuplicateKind
impl Unpin for DuplicateKind
impl UnwindSafe for DuplicateKind
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