pub struct BeginnerPatterns;Expand description
Common patterns that beginners might use incorrectly
Implementations§
Source§impl BeginnerPatterns
impl BeginnerPatterns
pub fn check_pattern(code: &str) -> Vec<String>
Auto Trait Implementations§
impl Freeze for BeginnerPatterns
impl RefUnwindSafe for BeginnerPatterns
impl Send for BeginnerPatterns
impl Sync for BeginnerPatterns
impl Unpin for BeginnerPatterns
impl UnsafeUnpin for BeginnerPatterns
impl UnwindSafe for BeginnerPatterns
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