pub struct Program { /* private fields */ }Expand description
structure used to build ProgramBlock Use example:
use processor::program::Program;
let mut prog = Program::new();
let program_block = prog.create_block();Implementations§
Source§impl Program
impl Program
Sourcepub fn create_block(&mut self) -> Rc<RefCell<ProgramBlock>>
pub fn create_block(&mut self) -> Rc<RefCell<ProgramBlock>>
Create a new ProgramBlock
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