pub struct Library {
pub programs: Vec<Program>,
pub dirs: Vec<PathBuf>,
pub copy: Libraries,
pub flags: Vec<String>,
}Expand description
Where CALL finds programs: the other programs of the first program’s source, then program libraries searched by member name.
Fields§
§programs: Vec<Program>§dirs: Vec<PathBuf>§copy: Libraries§flags: Vec<String>Trait Implementations§
Source§impl Loader<Rc<Compiled>> for Library
impl Loader<Rc<Compiled>> for Library
Source§fn program(
&mut self,
name: &str,
) -> Result<LoadedProgram<Rc<Compiled>>, LoadError>
fn program( &mut self, name: &str, ) -> Result<LoadedProgram<Rc<Compiled>>, 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<Compiled>, name: &str) -> Option<usize>
fn entry(program: &Rc<Compiled>, name: &str) -> Option<usize>
Which of a loaded program’s ENTRY statements has this name.
Auto Trait Implementations§
impl Freeze for Library
impl RefUnwindSafe for Library
impl Send for Library
impl Sync for Library
impl Unpin for Library
impl UnsafeUnpin for Library
impl UnwindSafe for Library
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