Struct DiagnosticCode
pub struct DiagnosticCode(/* private fields */);Expand description
Stable dotted identity of one diagnostic.
Implementations§
§impl DiagnosticCode
impl DiagnosticCode
Trait Implementations§
§impl Clone for DiagnosticCode
impl Clone for DiagnosticCode
§fn clone(&self) -> DiagnosticCode
fn clone(&self) -> DiagnosticCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for DiagnosticCode
impl Debug for DiagnosticCode
§impl Display for DiagnosticCode
impl Display for DiagnosticCode
impl Eq for DiagnosticCode
§impl Hash for DiagnosticCode
impl Hash for DiagnosticCode
§impl Ord for DiagnosticCode
impl Ord for DiagnosticCode
§fn cmp(&self, other: &DiagnosticCode) -> Ordering
fn cmp(&self, other: &DiagnosticCode) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for DiagnosticCode
impl PartialEq for DiagnosticCode
§impl PartialOrd for DiagnosticCode
impl PartialOrd for DiagnosticCode
impl StructuralPartialEq for DiagnosticCode
Auto Trait Implementations§
impl Freeze for DiagnosticCode
impl RefUnwindSafe for DiagnosticCode
impl Send for DiagnosticCode
impl Sync for DiagnosticCode
impl Unpin for DiagnosticCode
impl UnsafeUnpin for DiagnosticCode
impl UnwindSafe for DiagnosticCode
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