pub struct CommonMistake {
pub pattern: &'static str,
pub fix: &'static str,
}Expand description
A common mistake pattern with its fix.
Fields§
§pattern: &'static strDescription of the mistake pattern.
fix: &'static strSuggested fix for this mistake.
Trait Implementations§
Source§impl Clone for CommonMistake
impl Clone for CommonMistake
Source§fn clone(&self) -> CommonMistake
fn clone(&self) -> CommonMistake
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 moreAuto Trait Implementations§
impl Freeze for CommonMistake
impl RefUnwindSafe for CommonMistake
impl Send for CommonMistake
impl Sync for CommonMistake
impl Unpin for CommonMistake
impl UnwindSafe for CommonMistake
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