pub struct ReprPacked;Trait Implementations§
Source§impl Lint for ReprPacked
impl Lint for ReprPacked
Source§fn enter_workspace(&mut self, _content: &Lintable<DocumentMut>)
fn enter_workspace(&mut self, _content: &Lintable<DocumentMut>)
Begin processing a workspace, given the parsed Cargo.toml of the workspace root.
Source§fn enter_crate(&mut self, _content: &Lintable<DocumentMut>)
fn enter_crate(&mut self, _content: &Lintable<DocumentMut>)
Begin processing a crate, given the parsed Cargo.toml of the crate root.
Source§fn visit_file(&mut self, content: &mut Lintable<String>)
fn visit_file(&mut self, content: &mut Lintable<String>)
Process a Rust source file in the current crate.
Source§fn exit_crate(&mut self, _content: &mut Lintable<DocumentMut>)
fn exit_crate(&mut self, _content: &mut Lintable<DocumentMut>)
Finish processing a crate, given the parsed Cargo.toml of the crate root.
Source§fn exit_workspace(&mut self, _content: &mut Lintable<DocumentMut>)
fn exit_workspace(&mut self, _content: &mut Lintable<DocumentMut>)
Finish processing a workspace, given the parsed Cargo.toml of the workspace root.
Auto Trait Implementations§
impl Freeze for ReprPacked
impl RefUnwindSafe for ReprPacked
impl Send for ReprPacked
impl Sync for ReprPacked
impl Unpin for ReprPacked
impl UnsafeUnpin for ReprPacked
impl UnwindSafe for ReprPacked
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