Struct cargo_edit::CrateSpec
source · [−]Expand description
User-specified crate
This can be a
- Name (e.g.
docopt) - Name and a version req (e.g.
docopt@^0.8) - Path
Fields
name: StringCrate name
version_req: Option<String>Optional version requirement
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CrateSpec
impl Send for CrateSpec
impl Sync for CrateSpec
impl Unpin for CrateSpec
impl UnwindSafe for CrateSpec
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