pub struct Derived<P: Package, VS: VersionSet> {
pub terms: Map<P, Term<VS>>,
pub shared_id: Option<usize>,
pub cause1: Arc<DerivationTree<P, VS>>,
pub cause2: Arc<DerivationTree<P, VS>>,
}
Expand description
Incompatibility derived from two others.
Fields§
§terms: Map<P, Term<VS>>
Terms of the incompatibility.
Indicate if that incompatibility is present multiple times in the derivation tree. If that is the case, it has a unique id, provided in that option. Then, we may want to only explain it once, and refer to the explanation for the other times.
cause1: Arc<DerivationTree<P, VS>>
First cause.
cause2: Arc<DerivationTree<P, VS>>
Second cause.
Trait Implementations§
Auto Trait Implementations§
impl<P, VS> Freeze for Derived<P, VS>
impl<P, VS> RefUnwindSafe for Derived<P, VS>
impl<P, VS> Send for Derived<P, VS>
impl<P, VS> Sync for Derived<P, VS>
impl<P, VS> Unpin for Derived<P, VS>
impl<P, VS> UnwindSafe for Derived<P, VS>where
P: UnwindSafe + RefUnwindSafe,
VS: UnwindSafe + RefUnwindSafe,
<VS as VersionSet>::V: RefUnwindSafe,
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