Enum pubgrub::solver::Dependencies
source · pub enum Dependencies<P: Package, VS: VersionSet> {
Unknown,
Known(DependencyConstraints<P, VS>),
}
Expand description
An enum used by DependencyProvider that holds information about package dependencies. For each Package there is a set of versions allowed as a dependency.
Variants§
Unknown
Package dependencies are unavailable.
Known(DependencyConstraints<P, VS>)
Container for all available package versions.
Trait Implementations§
source§impl<P: Clone + Package, VS: Clone + VersionSet> Clone for Dependencies<P, VS>
impl<P: Clone + Package, VS: Clone + VersionSet> Clone for Dependencies<P, VS>
source§fn clone(&self) -> Dependencies<P, VS>
fn clone(&self) -> Dependencies<P, VS>
Returns a copy 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<P, VS> Freeze for Dependencies<P, VS>
impl<P, VS> RefUnwindSafe for Dependencies<P, VS>where
P: RefUnwindSafe,
VS: RefUnwindSafe,
impl<P, VS> Send for Dependencies<P, VS>
impl<P, VS> Sync for Dependencies<P, VS>
impl<P, VS> Unpin for Dependencies<P, VS>
impl<P, VS> UnwindSafe for Dependencies<P, VS>where
P: UnwindSafe,
VS: UnwindSafe,
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