Struct cairo_lang_casm::builder::CasmBuildResult
source · pub struct CasmBuildResult<const BRANCH_COUNT: usize> {
pub instructions: Vec<Instruction>,
pub branches: [(State, Vec<usize>); BRANCH_COUNT],
}
Expand description
The builder result.
Fields§
§instructions: Vec<Instruction>
The actual casm code.
branches: [(State, Vec<usize>); BRANCH_COUNT]
The state and relocations per branch.
Auto Trait Implementations§
impl<const BRANCH_COUNT: usize> RefUnwindSafe for CasmBuildResult<BRANCH_COUNT>
impl<const BRANCH_COUNT: usize> Send for CasmBuildResult<BRANCH_COUNT>
impl<const BRANCH_COUNT: usize> Sync for CasmBuildResult<BRANCH_COUNT>
impl<const BRANCH_COUNT: usize> Unpin for CasmBuildResult<BRANCH_COUNT>
impl<const BRANCH_COUNT: usize> UnwindSafe for CasmBuildResult<BRANCH_COUNT>
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