pub struct PatchedPackageSource {
pub name: PackageName,
pub version: Version,
pub manifest_path: PathBuf,
}Expand description
One patched package source. Like RegistryPackageSource,
the loader stitches the supplied (name, version, manifest_path) into the graph; unlike a registry entry, the
resulting WorkspacePackage is tagged kind = PackageKind::Local
because the user pointed Cabin at a local working copy. The
orchestration layer in cabin filters the regular
registry list so a patched name’s only entry comes from
patches.
Fields§
§name: PackageName§version: Version§manifest_path: PathBufAbsolute path to the patched package’s cabin.toml.
Trait Implementations§
Source§impl Clone for PatchedPackageSource
impl Clone for PatchedPackageSource
Source§fn clone(&self) -> PatchedPackageSource
fn clone(&self) -> PatchedPackageSource
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 PatchedPackageSource
impl RefUnwindSafe for PatchedPackageSource
impl Send for PatchedPackageSource
impl Sync for PatchedPackageSource
impl Unpin for PatchedPackageSource
impl UnsafeUnpin for PatchedPackageSource
impl UnwindSafe for PatchedPackageSource
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