pub struct ClauseId<I: Interner>(pub I::DefId);
Expand description
Id for a specific clause.
Tuple Fields§
§0: I::DefId
Trait Implementations§
source§impl<I: Ord + Interner> Ord for ClauseId<I>where
I::DefId: Ord,
impl<I: Ord + Interner> Ord for ClauseId<I>where I::DefId: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<I: PartialEq + Interner> PartialEq<ClauseId<I>> for ClauseId<I>where
I::DefId: PartialEq,
impl<I: PartialEq + Interner> PartialEq<ClauseId<I>> for ClauseId<I>where I::DefId: PartialEq,
source§impl<I: PartialOrd + Interner> PartialOrd<ClauseId<I>> for ClauseId<I>where
I::DefId: PartialOrd,
impl<I: PartialOrd + Interner> PartialOrd<ClauseId<I>> for ClauseId<I>where I::DefId: PartialOrd,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<I: Copy + Interner> Copy for ClauseId<I>where I::DefId: Copy,
impl<I: Eq + Interner> Eq for ClauseId<I>where I::DefId: Eq,
impl<I: Interner> StructuralEq for ClauseId<I>
impl<I: Interner> StructuralPartialEq for ClauseId<I>
Auto Trait Implementations§
impl<I> RefUnwindSafe for ClauseId<I>where <I as Interner>::DefId: RefUnwindSafe,
impl<I> Send for ClauseId<I>where <I as Interner>::DefId: Send,
impl<I> Sync for ClauseId<I>where <I as Interner>::DefId: Sync,
impl<I> Unpin for ClauseId<I>where <I as Interner>::DefId: Unpin,
impl<I> UnwindSafe for ClauseId<I>where <I as Interner>::DefId: 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