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