Struct bpaf_cauwugo::add::Add
source · [−]pub struct Add {
pub package: Option<&'static str>,
pub dev: bool,
pub build: bool,
pub source: Source,
}
Expand description
Add dependencies to a Cargo.toml manifest file
Fields
package: Option<&'static str>
dev: bool
Add as dev dependency
build: bool
Add as build dependency
source: Source
Implementations
sourceimpl Add
impl Add
pub fn pass_to_cmd(&self, cmd: &mut Command)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Add
impl Send for Add
impl Sync for Add
impl Unpin for Add
impl UnwindSafe for Add
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more