pub enum CleanScope {
Whole,
Profile(ProfileName),
Packages {
profiles: Vec<ProfileName>,
packages: Vec<PackageName>,
},
}Expand description
What cabin clean should remove.
Variants§
Whole
Remove the entire build directory. Used by the no-flag
invocation cabin clean.
Profile(ProfileName)
Remove a single profile sub-tree
(<build_dir>/<profile>/).
Packages
Remove the per-package output for one or more packages across one or more profiles.
Trait Implementations§
Source§impl Clone for CleanScope
impl Clone for CleanScope
Source§fn clone(&self) -> CleanScope
fn clone(&self) -> CleanScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CleanScope
impl RefUnwindSafe for CleanScope
impl Send for CleanScope
impl Sync for CleanScope
impl Unpin for CleanScope
impl UnsafeUnpin for CleanScope
impl UnwindSafe for CleanScope
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