Struct cairo_lang_lowering::lower::Lowered
source · pub struct Lowered {
pub diagnostics: Diagnostics<LoweringDiagnostic>,
pub root: Maybe<BlockId>,
pub variables: Arena<Variable>,
pub blocks: FlatBlocks,
}
Expand description
A lowered function code.
Fields§
§diagnostics: Diagnostics<LoweringDiagnostic>
Diagnostics produced while lowering.
root: Maybe<BlockId>
Block id for the start of the lowered function.
variables: Arena<Variable>
Arena of allocated lowered variables.
blocks: FlatBlocks
Arena of allocated lowered blocks.
Trait Implementations§
source§impl DebugWithDb<LoweredFormatter<'_>> for Lowered
impl DebugWithDb<LoweredFormatter<'_>> for Lowered
source§impl PartialEq<Lowered> for Lowered
impl PartialEq<Lowered> for Lowered
impl Eq for Lowered
impl StructuralEq for Lowered
impl StructuralPartialEq for Lowered
Auto Trait Implementations§
impl RefUnwindSafe for Lowered
impl Send for Lowered
impl Sync for Lowered
impl Unpin for Lowered
impl UnwindSafe for Lowered
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.