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>
impl<I: Ord + Interner> Ord for ClauseId<I>
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 for ClauseId<I>
impl<I: PartialEq + Interner> PartialEq for ClauseId<I>
source§impl<I: PartialOrd + Interner> PartialOrd for ClauseId<I>where
I::DefId: PartialOrd,
impl<I: PartialOrd + Interner> PartialOrd 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>
impl<I: Eq + Interner> Eq for ClauseId<I>
impl<I: Interner> StructuralPartialEq for ClauseId<I>
Auto Trait Implementations§
impl<I> Freeze for ClauseId<I>
impl<I> RefUnwindSafe for ClauseId<I>
impl<I> Send for ClauseId<I>
impl<I> Sync for ClauseId<I>
impl<I> Unpin for ClauseId<I>
impl<I> UnwindSafe for ClauseId<I>
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)