Struct crates_index::Dependency
[−]
[src]
pub struct Dependency { /* fields omitted */ }
A single dependency of a specific crate version
Methods
impl Dependency
[src]
fn name(&self) -> &str
[src]
fn requirement(&self) -> &str
[src]
fn features(&self) -> &[String]
[src]
fn is_optional(&self) -> bool
[src]
fn has_default_features(&self) -> bool
[src]
fn target(&self) -> Option<&str>
[src]
fn kind(&self) -> Option<&str>
[src]
Trait Implementations
impl Clone for Dependency
[src]
fn clone(&self) -> Dependency
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more