pub struct WorkspacedManifest {
members: Vec<PathBuf>,
excluded: Vec<PathBuf>,
dependencies: Vec<PathBuf>,
}Fields§
§members: Vec<PathBuf>§excluded: Vec<PathBuf>§dependencies: Vec<PathBuf>Trait Implementations§
Source§impl Lint for WorkspacedManifest
impl Lint for WorkspacedManifest
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 WorkspacedManifest
impl RefUnwindSafe for WorkspacedManifest
impl Send for WorkspacedManifest
impl Sync for WorkspacedManifest
impl Unpin for WorkspacedManifest
impl UnsafeUnpin for WorkspacedManifest
impl UnwindSafe for WorkspacedManifest
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