pub struct RuleId(pub usize);
Expand description
The id of an interned rule inside the TermEnv
.
Tuple Fields§
§0: usize
Implementations§
Trait Implementations§
source§impl Ord for RuleId
impl Ord for RuleId
source§impl PartialOrd for RuleId
impl PartialOrd for RuleId
impl Copy for RuleId
impl Eq for RuleId
impl StructuralPartialEq for RuleId
Auto Trait Implementations§
impl Freeze for RuleId
impl RefUnwindSafe for RuleId
impl Send for RuleId
impl Sync for RuleId
impl Unpin for RuleId
impl UnwindSafe for RuleId
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)