Struct cranelift_isle::sema::BoundVar
source · pub struct BoundVar {
pub id: VarId,
pub name: Sym,
pub ty: TypeId,
/* private fields */
}
Expand description
A name bound in a pattern or let-expression.
Fields§
§id: VarId
The identifier used for this variable within the scope of the current Rule.
name: Sym
The variable’s name.
ty: TypeId
The type of the value this variable is bound to.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoundVar
impl RefUnwindSafe for BoundVar
impl Send for BoundVar
impl Sync for BoundVar
impl Unpin for BoundVar
impl UnwindSafe for BoundVar
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