struct CauseWorkspace<'a> {
keys: BTreeSet<CanonicalResolutionKey>,
scratch: &'a mut ResolverScratch,
}Expand description
A query-owned cause set whose unique key copies are reserved before insertion.
Fields§
§keys: BTreeSet<CanonicalResolutionKey>Exact deduplicated invalidation keys being constructed.
scratch: &'a mut ResolverScratchConstruction owner that transfers these bytes into the completed value.
Implementations§
Source§impl<'a> CauseWorkspace<'a>
impl<'a> CauseWorkspace<'a>
Sourcefn new(scratch: &'a mut ResolverScratch) -> Self
fn new(scratch: &'a mut ResolverScratch) -> Self
Start without allocating or borrowing a cached dependency set.
Auto Trait Implementations§
impl<'a> !UnwindSafe for CauseWorkspace<'a>
impl<'a> Freeze for CauseWorkspace<'a>
impl<'a> RefUnwindSafe for CauseWorkspace<'a>
impl<'a> Send for CauseWorkspace<'a>
impl<'a> Sync for CauseWorkspace<'a>
impl<'a> Unpin for CauseWorkspace<'a>
impl<'a> UnsafeUnpin for CauseWorkspace<'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<'a, T> FromIn<'a, T> for T
impl<'a, T> FromIn<'a, T> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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