pub struct ReferencePackageRoots<'a> { /* private fields */ }Expand description
Explicit manifest associations in one actual structural reference context.
Package names and lock rows are checked against the loaded manifests. Disk and opaque contents remain observations, not archive authentication.
Implementations§
Source§impl<'a> ReferencePackageRoots<'a>
impl<'a> ReferencePackageRoots<'a>
Sourcepub const fn new(
tree: ReferenceTree<'a>,
packages: &'a [LockedManifest<'a>],
) -> Self
pub const fn new( tree: ReferenceTree<'a>, packages: &'a [LockedManifest<'a>], ) -> Self
Select the actual source backend and exact retained declaration keys.
Trait Implementations§
Source§impl<'a> Clone for ReferencePackageRoots<'a>
impl<'a> Clone for ReferencePackageRoots<'a>
impl<'a> Copy for ReferencePackageRoots<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ReferencePackageRoots<'a>
impl<'a> !Send for ReferencePackageRoots<'a>
impl<'a> !Sync for ReferencePackageRoots<'a>
impl<'a> !UnwindSafe for ReferencePackageRoots<'a>
impl<'a> Forget for ReferencePackageRoots<'a>
impl<'a> Freeze for ReferencePackageRoots<'a>
impl<'a> Move for ReferencePackageRoots<'a>
impl<'a> Unpin for ReferencePackageRoots<'a>
impl<'a> UnsafeUnpin for ReferencePackageRoots<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more