pub struct Derived<P: Package, VS: VersionSet, M: Eq + Clone + Debug + Display> {
pub terms: Map<P, Term<VS>>,
pub shared_id: Option<usize>,
pub cause1: Arc<DerivationTree<P, VS, M>>,
pub cause2: Arc<DerivationTree<P, VS, M>>,
}Expand description
Incompatibility derived from two others.
Fields§
§terms: Map<P, Term<VS>>Terms of the incompatibility.
Indicate if the incompatibility is present multiple times in the derivation tree.
If that is the case, the number is a unique id. This can be used to only explain this incompatibility once, then refer to the explanation for the other times.
cause1: Arc<DerivationTree<P, VS, M>>First cause.
cause2: Arc<DerivationTree<P, VS, M>>Second cause.
Trait Implementations§
Auto Trait Implementations§
impl<P, VS, M> Freeze for Derived<P, VS, M>
impl<P, VS, M> RefUnwindSafe for Derived<P, VS, M>
impl<P, VS, M> Send for Derived<P, VS, M>
impl<P, VS, M> Sync for Derived<P, VS, M>
impl<P, VS, M> Unpin for Derived<P, VS, M>
impl<P, VS, M> UnwindSafe for Derived<P, VS, M>where
P: UnwindSafe + RefUnwindSafe,
VS: UnwindSafe + RefUnwindSafe,
<VS as VersionSet>::V: RefUnwindSafe,
M: 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