Enum miden_core::code_blocks::CodeBlock
source · [−]Expand description
TODO: add comments
Variants
Span(Span)
Join(Join)
Split(Split)
Loop(Loop)
Call(Call)
Proxy(Proxy)
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.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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