pub struct HirProgram {Show 17 fields
pub expressions: Vec<TypedExpression>,
pub statements: Vec<TypedStatement>,
pub functions: Vec<HirFunction>,
pub constants: Vec<Value>,
pub locals: usize,
pub states: usize,
pub state_call_sites: Vec<CallSiteId>,
pub state_functions: Vec<Option<FunctionId>>,
pub series: usize,
pub retained_series: Vec<bool>,
pub call_sites: usize,
pub plots: Vec<PlotDescriptor>,
pub inputs: Vec<(LocalSlot, String)>,
pub source_inputs: Vec<(SourceInputSlot, String)>,
pub local_definitions: Vec<Option<ExprId>>,
pub blocks: Vec<StatementBlock>,
pub entry_point: StatementBlockId,
}Fields§
§expressions: Vec<TypedExpression>§statements: Vec<TypedStatement>§functions: Vec<HirFunction>§constants: Vec<Value>§locals: usize§states: usize§state_call_sites: Vec<CallSiteId>§state_functions: Vec<Option<FunctionId>>§series: usize§retained_series: Vec<bool>§call_sites: usize§plots: Vec<PlotDescriptor>§inputs: Vec<(LocalSlot, String)>§source_inputs: Vec<(SourceInputSlot, String)>§local_definitions: Vec<Option<ExprId>>§blocks: Vec<StatementBlock>§entry_point: StatementBlockIdImplementations§
Source§impl HirProgram
impl HirProgram
Trait Implementations§
Source§impl Clone for HirProgram
impl Clone for HirProgram
Source§impl Debug for HirProgram
impl Debug for HirProgram
Source§impl PartialEq for HirProgram
impl PartialEq for HirProgram
impl StructuralPartialEq for HirProgram
Auto Trait Implementations§
impl Freeze for HirProgram
impl RefUnwindSafe for HirProgram
impl Send for HirProgram
impl Sync for HirProgram
impl Unpin for HirProgram
impl UnsafeUnpin for HirProgram
impl UnwindSafe for HirProgram
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