Enum cargo::ops::Packages [−][src]
Variants
Implementations
impl Packages
[src]
pub fn from_flags(
all: bool,
exclude: Vec<String>,
package: Vec<String>
) -> CargoResult<Self>
[src]
all: bool,
exclude: Vec<String>,
package: Vec<String>
) -> CargoResult<Self>
pub fn to_package_id_specs(
&self,
ws: &Workspace<'_>
) -> CargoResult<Vec<PackageIdSpec>>
[src]
&self,
ws: &Workspace<'_>
) -> CargoResult<Vec<PackageIdSpec>>
pub fn get_packages<'ws>(
&self,
ws: &'ws Workspace<'_>
) -> CargoResult<Vec<&'ws Package>>
[src]
&self,
ws: &'ws Workspace<'_>
) -> CargoResult<Vec<&'ws Package>>
pub fn needs_spec_flag(&self, ws: &Workspace<'_>) -> bool
[src]
Returns whether or not the user needs to pass a -p
flag to target a
specific package in the workspace.
Trait Implementations
impl Clone for Packages
[src]
impl Debug for Packages
[src]
impl Eq for Packages
[src]
impl PartialEq<Packages> for Packages
[src]
impl StructuralEq for Packages
[src]
impl StructuralPartialEq for Packages
[src]
Auto Trait Implementations
impl RefUnwindSafe for Packages
impl Send for Packages
impl Sync for Packages
impl Unpin for Packages
impl UnwindSafe for Packages
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,