pub struct LispSourceLoader { /* private fields */ }Expand description
Loader that compiles .lisp source files into libs using a Lisp codec.
Implementations§
Trait Implementations§
Source§impl Default for LispSourceLoader
Available on crate feature codec-lisp only.
impl Default for LispSourceLoader
Available on crate feature
codec-lisp only.Source§impl LibLoader for LispSourceLoader
Available on crate feature codec-lisp only.
impl LibLoader for LispSourceLoader
Available on crate feature
codec-lisp only.Source§fn can_load(&self, source: &LibSource) -> bool
fn can_load(&self, source: &LibSource) -> bool
Reports whether this loader accepts the given source.
Source§fn load(&self, cx: &mut Cx, source: LibSource) -> Result<Box<dyn Lib>>
fn load(&self, cx: &mut Cx, source: LibSource) -> Result<Box<dyn Lib>>
Loads the source into a library object.
Source§fn inspect_manifest(
&self,
cx: &mut Cx,
source: &LibSource,
) -> Result<Option<LibManifest>>
fn inspect_manifest( &self, cx: &mut Cx, source: &LibSource, ) -> Result<Option<LibManifest>>
Inspects a source’s manifest without fully loading it; the default
returns
None (not supported).Auto Trait Implementations§
impl Freeze for LispSourceLoader
impl RefUnwindSafe for LispSourceLoader
impl Send for LispSourceLoader
impl Sync for LispSourceLoader
impl Unpin for LispSourceLoader
impl UnsafeUnpin for LispSourceLoader
impl UnwindSafe for LispSourceLoader
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