pub enum Target {
AllPackages,
Crates,
Examples,
Workspace,
}
Variants§
AllPackages
Targets all crates and examples using cargo –package.
Crates
Targets all binary and library crates.
Examples
Targets all example crates.
Workspace
Targets the whole workspace using cargo –workspace.
Trait Implementations§
Source§impl IntoEnumIterator for Target
impl IntoEnumIterator for Target
type Iterator = TargetIter
fn iter() -> TargetIter ⓘ
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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