pub struct RegistryPackageSource {
pub name: PackageName,
pub version: Version,
pub manifest_path: PathBuf,
}Expand description
One registry package source that has already been fetched and
extracted by cabin-artifact. cabin-workspace accepts these
pre-resolved entries via load_workspace_with_options so it can
fold them into the package graph alongside local packages.
Fields§
§name: PackageName§version: Version§manifest_path: PathBufAbsolute path to the extracted package’s cabin.toml.
Trait Implementations§
Source§impl Clone for RegistryPackageSource
impl Clone for RegistryPackageSource
Source§fn clone(&self) -> RegistryPackageSource
fn clone(&self) -> RegistryPackageSource
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 RegistryPackageSource
impl RefUnwindSafe for RegistryPackageSource
impl Send for RegistryPackageSource
impl Sync for RegistryPackageSource
impl Unpin for RegistryPackageSource
impl UnsafeUnpin for RegistryPackageSource
impl UnwindSafe for RegistryPackageSource
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