pub struct Libraries { /* private fields */ }Expand description
Directories searched for COPY members, in order. A COPY X OF LIB looks in <dir>/LIB first.
The file being compiled, when named, is never one of its own members. The compliance level is
how the program and its members are read.
Implementations§
Source§impl Libraries
impl Libraries
pub fn new(dirs: Vec<PathBuf>) -> Self
Sourcepub fn with_program(&self, program: &Path) -> Self
pub fn with_program(&self, program: &Path) -> Self
These libraries, for compiling the program in program.
Sourcepub fn with_compliance(&self, compliance: Compliance) -> Self
pub fn with_compliance(&self, compliance: Compliance) -> Self
These libraries, read under compliance.
pub fn compliance(&self) -> Compliance
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Libraries
impl RefUnwindSafe for Libraries
impl Send for Libraries
impl Sync for Libraries
impl Unpin for Libraries
impl UnsafeUnpin for Libraries
impl UnwindSafe for Libraries
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