pub struct VmLibrary(pub Library);Expand description
The program library, each program lowered as CALL loads it.
Tuple Fields§
§0: LibraryTrait Implementations§
Source§impl Loader<Rc<Code>> for VmLibrary
impl Loader<Rc<Code>> for VmLibrary
Source§fn program(&mut self, name: &str) -> Result<LoadedProgram<Rc<Code>>, LoadError>
fn program(&mut self, name: &str) -> Result<LoadedProgram<Rc<Code>>, LoadError>
The program whose PROGRAM-ID CALL names, compiled.
Source§fn holder(&self, entry: &str) -> Option<String>
fn holder(&self, entry: &str) -> Option<String>
The PROGRAM-ID of a program not yet loaded that has an ENTRY of this name.
Source§fn entry(program: &Rc<Code>, name: &str) -> Option<usize>
fn entry(program: &Rc<Code>, name: &str) -> Option<usize>
Which of a loaded program’s ENTRY statements has this name.
Auto Trait Implementations§
impl Freeze for VmLibrary
impl RefUnwindSafe for VmLibrary
impl Send for VmLibrary
impl Sync for VmLibrary
impl Unpin for VmLibrary
impl UnsafeUnpin for VmLibrary
impl UnwindSafe for VmLibrary
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