pub struct ResolvedPackageInfo {
pub package: Arc<Package>,
pub variant_index: Option<usize>,
pub requested: bool,
pub required_by: Vec<String>,
pub satisfying_requirement: Option<Requirement>,
}Expand description
Information about a resolved package
Fields§
§package: Arc<Package>The resolved package
variant_index: Option<usize>The variant index if this package has variants
requested: boolWhether this package was explicitly requested
required_by: Vec<String>The requirements that led to this package being included
satisfying_requirement: Option<Requirement>The specific requirement that was satisfied
Trait Implementations§
Source§impl Clone for ResolvedPackageInfo
impl Clone for ResolvedPackageInfo
Source§fn clone(&self) -> ResolvedPackageInfo
fn clone(&self) -> ResolvedPackageInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ResolvedPackageInfo
impl RefUnwindSafe for ResolvedPackageInfo
impl Send for ResolvedPackageInfo
impl Sync for ResolvedPackageInfo
impl Unpin for ResolvedPackageInfo
impl UnwindSafe for ResolvedPackageInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more