pub enum ProjectFilter {
All,
RustOnly,
NodeOnly,
PythonOnly,
GoOnly,
}
Expand description
Enumeration of supported project type filters.
This enum is used to restrict scanning and cleaning to specific types of development projects.
Variants§
All
Include all supported project types (Rust, Node.js, Python, Go)
RustOnly
Include only Rust projects (Cargo.toml + target/)
NodeOnly
Include only Node.js projects (package.json + node_modules
/)
PythonOnly
Include only Python projects (Python config files + cache dirs)
GoOnly
Include only Go projects (go.mod + vendor/)
Trait Implementations§
Source§impl Clone for ProjectFilter
impl Clone for ProjectFilter
Source§fn clone(&self) -> ProjectFilter
fn clone(&self) -> ProjectFilter
Returns a copy 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 ProjectFilter
impl Debug for ProjectFilter
Source§impl PartialEq for ProjectFilter
impl PartialEq for ProjectFilter
impl Copy for ProjectFilter
impl StructuralPartialEq for ProjectFilter
Auto Trait Implementations§
impl Freeze for ProjectFilter
impl RefUnwindSafe for ProjectFilter
impl Send for ProjectFilter
impl Sync for ProjectFilter
impl Unpin for ProjectFilter
impl UnwindSafe for ProjectFilter
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more