Struct cargo::core::Features
[−]
[src]
pub struct Features { /* fields omitted */ }
Methods
impl Features
[src]
fn new(features: &[String], warnings: &mut Vec<String>) -> CargoResult<Features>
[src]
fn activated(&self) -> &[String]
[src]
fn require(&self, feature: &Feature) -> CargoResult<()>
[src]
Trait Implementations
impl Default for Features
[src]
impl Clone for Features
[src]
fn clone(&self) -> Features
[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