Enum miden_core::code_blocks::CodeBlock
source · Expand description
TODO: add comments
Variants
Implementations
sourceimpl CodeBlock
impl CodeBlock
sourcepub fn new_span(operations: Vec<Operation>) -> Self
pub fn new_span(operations: Vec<Operation>) -> Self
Returns a new Span block instantiated with the provided operations.
sourcepub fn new_span_with_decorators(
operations: Vec<Operation>,
decorators: DecoratorList
) -> Self
pub fn new_span_with_decorators(
operations: Vec<Operation>,
decorators: DecoratorList
) -> Self
Returns a new Span block instantiated with the provided operations and decorator list.
sourcepub fn new_syscall(fn_hash: Digest) -> Self
pub fn new_syscall(fn_hash: Digest) -> Self
TODO: add comments
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CodeBlock
impl Send for CodeBlock
impl Sync for CodeBlock
impl Unpin for CodeBlock
impl UnwindSafe for CodeBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more