pub struct DiagnosticFix {
pub kind: DiagnosticFixKind,
pub replacement: String,
}Fields§
§kind: DiagnosticFixKind§replacement: StringTrait Implementations§
Source§impl Clone for DiagnosticFix
impl Clone for DiagnosticFix
Source§fn clone(&self) -> DiagnosticFix
fn clone(&self) -> DiagnosticFix
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 DiagnosticFix
impl Debug for DiagnosticFix
Source§impl Ord for DiagnosticFix
impl Ord for DiagnosticFix
Source§fn cmp(&self, other: &DiagnosticFix) -> Ordering
fn cmp(&self, other: &DiagnosticFix) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DiagnosticFix
impl PartialEq for DiagnosticFix
Source§impl PartialOrd for DiagnosticFix
impl PartialOrd for DiagnosticFix
Source§impl Serialize for DiagnosticFix
impl Serialize for DiagnosticFix
impl Eq for DiagnosticFix
impl StructuralPartialEq for DiagnosticFix
Auto Trait Implementations§
impl Freeze for DiagnosticFix
impl RefUnwindSafe for DiagnosticFix
impl Send for DiagnosticFix
impl Sync for DiagnosticFix
impl Unpin for DiagnosticFix
impl UnsafeUnpin for DiagnosticFix
impl UnwindSafe for DiagnosticFix
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