Struct cairo_lang_semantic::expr::compute::ExprAndId
source · pub struct ExprAndId {
pub expr: Expr,
pub id: ExprId,
}
Expand description
Expression with its id.
Fields§
§expr: Expr
§id: ExprId
Methods from Deref<Target = Expr>§
pub fn ty(&self) -> TypeId
pub fn stable_ptr(&self) -> ExprPtr
pub fn as_member_path(&self) -> Option<ExprVarMemberPath>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ExprAndId
impl Send for ExprAndId
impl Sync for ExprAndId
impl Unpin for ExprAndId
impl UnwindSafe for ExprAndId
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