pub struct Program {
pub state: ProgramState,
pub modules: Modules,
pub default_symbol_table: SymbolTable,
}
Fields§
§state: ProgramState
§modules: Modules
§default_symbol_table: SymbolTable
Implementations§
Source§impl Program
impl Program
pub const fn new( state: ProgramState, modules: Modules, default_symbol_table: SymbolTable, ) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl !Send for Program
impl !Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
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