pub struct LockedPackageRoots<'a> { /* private fields */ }Expand description
Candidate manifests beneath one sealed external source.
Implementations§
Source§impl<'a> LockedPackageRoots<'a>
impl<'a> LockedPackageRoots<'a>
Sourcepub const fn new(
tree: LockedTree<'a>,
packages: &'a [LockedManifest<'a>],
) -> Self
pub const fn new( tree: LockedTree<'a>, packages: &'a [LockedManifest<'a>], ) -> Self
Keep the sealed source root intact while selecting package manifests beneath it.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LockedPackageRoots<'a>
impl<'a> !Send for LockedPackageRoots<'a>
impl<'a> !Sync for LockedPackageRoots<'a>
impl<'a> !UnwindSafe for LockedPackageRoots<'a>
impl<'a> Forget for LockedPackageRoots<'a>
impl<'a> Freeze for LockedPackageRoots<'a>
impl<'a> Move for LockedPackageRoots<'a>
impl<'a> Unpin for LockedPackageRoots<'a>
impl<'a> UnsafeUnpin for LockedPackageRoots<'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> 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