pub struct PnpmCatalogEntry {
pub package_name: String,
pub line: u32,
}Expand description
A single entry inside a catalog.
Fields§
§package_name: StringPackage name declared in the catalog (e.g. "react", "@scope/lib").
line: u321-based line number of the entry within the source file.
Trait Implementations§
Source§impl Clone for PnpmCatalogEntry
impl Clone for PnpmCatalogEntry
Source§fn clone(&self) -> PnpmCatalogEntry
fn clone(&self) -> PnpmCatalogEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PnpmCatalogEntry
impl RefUnwindSafe for PnpmCatalogEntry
impl Send for PnpmCatalogEntry
impl Sync for PnpmCatalogEntry
impl Unpin for PnpmCatalogEntry
impl UnsafeUnpin for PnpmCatalogEntry
impl UnwindSafe for PnpmCatalogEntry
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