pub struct LockedManifest<'a> { /* private fields */ }Expand description
A candidate manifest/row association, verified by the locked load before use.
Implementations§
Source§impl<'a> LockedManifest<'a>
impl<'a> LockedManifest<'a>
Sourcepub fn new(
row: LockedPackageId,
manifest: RelPath,
edges: &'a [LockedEdge<'a>],
) -> Self
pub fn new( row: LockedPackageId, manifest: RelPath, edges: &'a [LockedEdge<'a>], ) -> Self
Associate a local manifest spelling with a row and explicitly requested edges. This input is a locator, not source or package identity proof.
Sourcepub const fn with_configuration(
self,
configuration: DeclaredConfiguration<'a>,
) -> Self
pub const fn with_configuration( self, configuration: DeclaredConfiguration<'a>, ) -> Self
Select a declared compilation context; every admitted package must supply one.
Sourcepub const fn with_configurations(
self,
configurations: &'a [DeclaredConfiguration<'a>],
) -> Self
pub const fn with_configurations( self, configurations: &'a [DeclaredConfiguration<'a>], ) -> Self
Select exact target contexts, including any own-library companion.
Each target name/kind occurs once. Incompatible modes of the same target must be loaded separately; no context is inferred from this host.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for LockedManifest<'a>
impl<'a> Freeze for LockedManifest<'a>
impl<'a> Move for LockedManifest<'a>
impl<'a> RefUnwindSafe for LockedManifest<'a>
impl<'a> Send for LockedManifest<'a>
impl<'a> Sync for LockedManifest<'a>
impl<'a> Unpin for LockedManifest<'a>
impl<'a> UnsafeUnpin for LockedManifest<'a>
impl<'a> UnwindSafe for LockedManifest<'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
impl<T> EvidenceLease for T
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