pub struct DependencySpec {
pub package: String,
pub version: Version,
pub features: BTreeSet<InternedString>,
pub default_features: bool,
}
Fields
package: String
version: Version
features: BTreeSet<InternedString>
default_features: bool
Trait Implementations
sourceimpl Clone for DependencySpec
impl Clone for DependencySpec
sourcefn clone(&self) -> DependencySpec
fn clone(&self) -> DependencySpec
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 DependencySpec
impl Debug for DependencySpec
sourceimpl Serialize for DependencySpec
impl Serialize for DependencySpec
Auto Trait Implementations
impl RefUnwindSafe for DependencySpec
impl Send for DependencySpec
impl Sync for DependencySpec
impl Unpin for DependencySpec
impl UnwindSafe for DependencySpec
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