Enum cargo_toml_builder::types::DependencyType
source · Expand description
Represents the different types of dependencies
Variants
Crate(Crate)
This is a crate retrieved from a crate registry like crates.io using it’s name and it’s semver version number
Repo(Repo)
This is a crate retrieved from a git repository
Path(String)
This is a crate retrieved from a filesystem path
Trait Implementations
sourceimpl Clone for DependencyType
impl Clone for DependencyType
sourcefn clone(&self) -> DependencyType
fn clone(&self) -> DependencyType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DependencyType
impl Debug for DependencyType
sourceimpl PartialEq<DependencyType> for DependencyType
impl PartialEq<DependencyType> for DependencyType
sourcefn eq(&self, other: &DependencyType) -> bool
fn eq(&self, other: &DependencyType) -> bool
impl StructuralPartialEq for DependencyType
Auto Trait Implementations
impl RefUnwindSafe for DependencyType
impl Send for DependencyType
impl Sync for DependencyType
impl Unpin for DependencyType
impl UnwindSafe for DependencyType
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