Enum cargo::ops::Packages
[−]
[src]
pub enum Packages<'a> { All, Packages(&'a [String]), }
Variants
All
Packages(&'a [String])
Methods
impl<'a> Packages<'a>
[src]
fn into_package_id_specs(
self,
ws: &Workspace
) -> CargoResult<Vec<PackageIdSpec>>
self,
ws: &Workspace
) -> CargoResult<Vec<PackageIdSpec>>
Trait Implementations
impl<'a> Clone for Packages<'a>
[src]
fn clone(&self) -> Packages<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Copy for Packages<'a>
[src]
impl<'a> PartialEq for Packages<'a>
[src]
fn eq(&self, __arg_0: &Packages<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Packages<'a>) -> bool
This method tests for !=
.