pub struct NoLoader;Expand description
A loader that resolves nothing, and says so.
The default for run, so a program using use in
a context with no packaging configured gets a typed error naming the
package — not a silently-undefined function that fails much later as an
unbound symbol pointing at innocent code.
Trait Implementations§
Source§impl Loader for NoLoader
impl Loader for NoLoader
Source§fn entry_package(&self, _path: &Path) -> Option<String>
fn entry_package(&self, _path: &Path) -> Option<String>
The bidama an ENTRY file at
path belongs to, if it belongs to one:
the package(name, …) of the Bluefile beside it. blue test bidamas/retsu/retsu.b checks and runs retsu’s own definitions, under
retsu’s namespace, exactly as an importer sees them. Read moreAuto Trait Implementations§
impl Freeze for NoLoader
impl RefUnwindSafe for NoLoader
impl Send for NoLoader
impl Sync for NoLoader
impl Unpin for NoLoader
impl UnsafeUnpin for NoLoader
impl UnwindSafe for NoLoader
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