pub struct Effect<'a, Q: QueryContext> {
pub binding: Q::Binding<'a>,
pub pattern: Q::ResolvedPattern<'a>,
pub kind: EffectKind,
}Fields§
§binding: Q::Binding<'a>§pattern: Q::ResolvedPattern<'a>§kind: EffectKindTrait Implementations§
Auto Trait Implementations§
impl<'a, Q> Freeze for Effect<'a, Q>
impl<'a, Q> RefUnwindSafe for Effect<'a, Q>where
<Q as QueryContext>::Binding<'a>: RefUnwindSafe,
<Q as QueryContext>::ResolvedPattern<'a>: RefUnwindSafe,
impl<'a, Q> Send for Effect<'a, Q>
impl<'a, Q> Sync for Effect<'a, Q>
impl<'a, Q> Unpin for Effect<'a, Q>
impl<'a, Q> UnwindSafe for Effect<'a, Q>where
<Q as QueryContext>::Binding<'a>: UnwindSafe,
<Q as QueryContext>::ResolvedPattern<'a>: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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