pub enum CargoRecipe {
Library,
Example(String),
RustcLibrary(Vec<OsString>),
}Expand description
Supported Cargo recipes. Consumers retain profile overrides and compiler flags.
Variants§
Library
Build the selected packages’ libraries.
Example(String)
Build one named example.
RustcLibrary(Vec<OsString>)
Compile a library with explicit arguments following Cargo’s -- separator.
Trait Implementations§
Source§impl Clone for CargoRecipe
impl Clone for CargoRecipe
Source§impl Debug for CargoRecipe
impl Debug for CargoRecipe
impl Eq for CargoRecipe
Source§impl PartialEq for CargoRecipe
impl PartialEq for CargoRecipe
impl StructuralPartialEq for CargoRecipe
Auto Trait Implementations§
impl Freeze for CargoRecipe
impl RefUnwindSafe for CargoRecipe
impl Send for CargoRecipe
impl Sync for CargoRecipe
impl Unpin for CargoRecipe
impl UnsafeUnpin for CargoRecipe
impl UnwindSafe for CargoRecipe
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.