Struct cairo_lang_lowering::objects::StatementCallBlock
source · pub struct StatementCallBlock {
pub block: BlockId,
pub outputs: Vec<VariableId>,
}
Expand description
A statement that jumps to another block. If that block ends with a BlockEnd::CallSite, the flow returns to the statement following this one.
Fields§
§block: BlockId
A block to “call”.
outputs: Vec<VariableId>
New variables to be introduced into the current scope, moved from the callee block outputs.
Trait Implementations§
source§impl Clone for StatementCallBlock
impl Clone for StatementCallBlock
source§fn clone(&self) -> StatementCallBlock
fn clone(&self) -> StatementCallBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StatementCallBlock
impl Debug for StatementCallBlock
source§impl DebugWithDb<LoweredFormatter<'_>> for StatementCallBlock
impl DebugWithDb<LoweredFormatter<'_>> for StatementCallBlock
source§impl PartialEq<StatementCallBlock> for StatementCallBlock
impl PartialEq<StatementCallBlock> for StatementCallBlock
source§fn eq(&self, other: &StatementCallBlock) -> bool
fn eq(&self, other: &StatementCallBlock) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StatementCallBlock
impl StructuralEq for StatementCallBlock
impl StructuralPartialEq for StatementCallBlock
Auto Trait Implementations§
impl RefUnwindSafe for StatementCallBlock
impl Send for StatementCallBlock
impl Sync for StatementCallBlock
impl Unpin for StatementCallBlock
impl UnwindSafe for StatementCallBlock
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.