pub struct BinaryPackLoader;Expand description
Loader for .l8b binary lib packs, recognized by path extension or magic.
Trait Implementations§
Source§impl Default for BinaryPackLoader
impl Default for BinaryPackLoader
Source§impl LibLoader for BinaryPackLoader
impl LibLoader for BinaryPackLoader
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 BinaryPackLoader
impl RefUnwindSafe for BinaryPackLoader
impl Send for BinaryPackLoader
impl Sync for BinaryPackLoader
impl Unpin for BinaryPackLoader
impl UnsafeUnpin for BinaryPackLoader
impl UnwindSafe for BinaryPackLoader
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