pub struct NpmPackage { /* private fields */ }Expand description
A handle to one npm package tarball. Coords authoritative (from the name/
version columns the plugin parsed out of package.json). Bytes lazy via
NpmPackage::bytes.
Implementations§
Auto Trait Implementations§
impl Freeze for NpmPackage
impl RefUnwindSafe for NpmPackage
impl Send for NpmPackage
impl Sync for NpmPackage
impl Unpin for NpmPackage
impl UnsafeUnpin for NpmPackage
impl UnwindSafe for NpmPackage
Blanket Implementations§
impl<T> Allocation for T
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