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