Struct cairo_lang_lowering::lower::generators::StructConstruct
source · pub struct StructConstruct {
pub inputs: Vec<VarUsage>,
pub ty: TypeId,
pub location: LocationId,
}Expand description
Generator for StatementStructConstruct.
Fields§
§inputs: Vec<VarUsage>§ty: TypeId§location: LocationIdImplementations§
source§impl StructConstruct
impl StructConstruct
pub fn add( self, ctx: &mut LoweringContext<'_, '_>, builder: &mut StatementsBuilder ) -> VarUsage
Auto Trait Implementations§
impl Freeze for StructConstruct
impl RefUnwindSafe for StructConstruct
impl Send for StructConstruct
impl Sync for StructConstruct
impl Unpin for StructConstruct
impl UnwindSafe for StructConstruct
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