pub struct Expr {
pub idx: usize,
pub repr: NumericRepr,
}Expand description
An expression that will be inserted by the caller.
Fields§
§idx: usizeAn index generated by the library user, uniquely identifying this expression.
repr: NumericReprIndicate the representation for this numeric expression. In the input, this is used by the caller to indicate the current type (or the smallest coercible one) while the output uses it to inform the caller of the final cast to use.
Trait Implementations§
Source§impl From<&Expr> for JumpOffset
impl From<&Expr> for JumpOffset
Source§fn from(expr: &Expr) -> JumpOffset
fn from(expr: &Expr) -> JumpOffset
Converts to this type from the input type.
Source§impl From<Expr> for JumpOffset
impl From<Expr> for JumpOffset
Source§fn from(expr: Expr) -> JumpOffset
fn from(expr: Expr) -> JumpOffset
Converts to this type from the input type.
impl Copy for Expr
Auto Trait Implementations§
impl Freeze for Expr
impl RefUnwindSafe for Expr
impl Send for Expr
impl Sync for Expr
impl Unpin for Expr
impl UnwindSafe for Expr
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