Struct cairo_lang_sierra_to_casm::metadata::Metadata
source · pub struct Metadata {
pub ap_change_info: ApChangeInfo,
pub gas_info: GasInfo,
}
Expand description
Metadata provided with a Sierra program to simplify the compilation to casm.
Fields§
§ap_change_info: ApChangeInfo
AP changes information for Sierra user functions.
gas_info: GasInfo
Gas information for validating Sierra code and taking the appropriate amount of gas.
Auto Trait Implementations§
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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