pub struct FrontendIr {
pub stmts: Vec<Stmt>,
pub locals: usize,
pub local_bindings: Vec<(String, LocalSlot)>,
pub struct_schemas: HashMap<String, StructDecl>,
pub unknown_type_spans: Vec<Span>,
pub functions: Vec<FunctionDecl>,
pub function_impls: HashMap<u16, FunctionImpl>,
pub stmt_sources: Vec<Option<String>>,
pub function_sources: HashMap<u16, String>,
}Fields§
§stmts: Vec<Stmt>§locals: usize§local_bindings: Vec<(String, LocalSlot)>§struct_schemas: HashMap<String, StructDecl>§unknown_type_spans: Vec<Span>§functions: Vec<FunctionDecl>§function_impls: HashMap<u16, FunctionImpl>§stmt_sources: Vec<Option<String>>§function_sources: HashMap<u16, String>Trait Implementations§
Source§impl Clone for FrontendIr
impl Clone for FrontendIr
Source§fn clone(&self) -> FrontendIr
fn clone(&self) -> FrontendIr
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for FrontendIr
impl RefUnwindSafe for FrontendIr
impl Send for FrontendIr
impl Sync for FrontendIr
impl Unpin for FrontendIr
impl UnsafeUnpin for FrontendIr
impl UnwindSafe for FrontendIr
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