Struct cranelift_isle::sema::RuleId
source · 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 PartialEq for RuleId
impl PartialEq for RuleId
source§impl PartialOrd for RuleId
impl PartialOrd for RuleId
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 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