pub struct PrecedenceConstraint<N> {
pub before: N,
pub after: N,
}Expand description
The precedence rule made impossible by a C3 merge.
Fields§
§before: NThe node a remaining parent linearization requires first.
after: NThe blocked candidate that the remaining linearization requires later.
Trait Implementations§
Source§impl<N: Clone> Clone for PrecedenceConstraint<N>
impl<N: Clone> Clone for PrecedenceConstraint<N>
Source§fn clone(&self) -> PrecedenceConstraint<N>
fn clone(&self) -> PrecedenceConstraint<N>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<N: Debug> Debug for PrecedenceConstraint<N>
impl<N: Debug> Debug for PrecedenceConstraint<N>
impl<N: Eq> Eq for PrecedenceConstraint<N>
Source§impl<N: PartialEq> PartialEq for PrecedenceConstraint<N>
impl<N: PartialEq> PartialEq for PrecedenceConstraint<N>
impl<N: PartialEq> StructuralPartialEq for PrecedenceConstraint<N>
Auto Trait Implementations§
impl<N> Freeze for PrecedenceConstraint<N>where
N: Freeze,
impl<N> RefUnwindSafe for PrecedenceConstraint<N>where
N: RefUnwindSafe,
impl<N> Send for PrecedenceConstraint<N>where
N: Send,
impl<N> Sync for PrecedenceConstraint<N>where
N: Sync,
impl<N> Unpin for PrecedenceConstraint<N>where
N: Unpin,
impl<N> UnsafeUnpin for PrecedenceConstraint<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for PrecedenceConstraint<N>where
N: 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