Struct cairo_lang_lowering::lower::context::LoweredExprExternEnum
source · pub struct LoweredExprExternEnum {
pub function: FunctionId,
pub concrete_enum_id: ConcreteEnumId,
pub inputs: Vec<VariableId>,
pub member_paths: Vec<ExprVarMemberPath>,
pub location: StableLocationOption,
}
Expand description
Lazy expression value of an extern call returning an enum.
Fields§
§function: FunctionId
§concrete_enum_id: ConcreteEnumId
§inputs: Vec<VariableId>
§member_paths: Vec<ExprVarMemberPath>
§location: StableLocationOption
Implementations§
source§impl LoweredExprExternEnum
impl LoweredExprExternEnum
pub fn var( self, ctx: &mut LoweringContext<'_, '_>, builder: &mut BlockBuilder ) -> LoweringResult<VariableId>
Trait Implementations§
source§impl Clone for LoweredExprExternEnum
impl Clone for LoweredExprExternEnum
source§fn clone(&self) -> LoweredExprExternEnum
fn clone(&self) -> LoweredExprExternEnum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for LoweredExprExternEnum
impl Send for LoweredExprExternEnum
impl Sync for LoweredExprExternEnum
impl Unpin for LoweredExprExternEnum
impl UnwindSafe for LoweredExprExternEnum
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