pub enum DependencyType {
Normal,
Build,
Dev,
}
Expand description
The type of a dependency for a package.
Variants§
Normal
A normal dependency (i.e. “dependencies” section of Cargo.toml
).
Build
A build dependency (i.e. “build-dependencies” section of Cargo.toml
).
Dev
A dev dependency (i.e. “dev-dependencies” section of Cargo.toml
).
Trait Implementations§
source§impl Debug for DependencyType
impl Debug for DependencyType
Auto Trait Implementations§
impl Freeze for DependencyType
impl RefUnwindSafe for DependencyType
impl Send for DependencyType
impl Sync for DependencyType
impl Unpin for DependencyType
impl UnwindSafe for DependencyType
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