pub(crate) struct FnMutDelegate<F1, F2, E = !> {
pub exprs: F1,
pub regions: F2,
_error: PhantomData<E>,
}Fields§
§exprs: F1§regions: F2§_error: PhantomData<E>Implementations§
Trait Implementations§
Source§impl<F1, F2, E> BoundVarReplacerDelegate for FnMutDelegate<F1, F2, E>
impl<F1, F2, E> BoundVarReplacerDelegate for FnMutDelegate<F1, F2, E>
type Error = E
fn replace_expr(&mut self, var: BoundReft) -> Result<Expr, E>
fn replace_region(&mut self, br: BoundRegion) -> Result<Region, E>
Auto Trait Implementations§
impl<F1, F2, E> DynSend for FnMutDelegate<F1, F2, E>where
F1: DynSend,
F2: DynSend,
PhantomData<E>: DynSend,
impl<F1, F2, E> DynSync for FnMutDelegate<F1, F2, E>where
F1: DynSync,
F2: DynSync,
PhantomData<E>: DynSync,
impl<F1, F2, E> Freeze for FnMutDelegate<F1, F2, E>
impl<F1, F2, E> RefUnwindSafe for FnMutDelegate<F1, F2, E>
impl<F1, F2, E> Send for FnMutDelegate<F1, F2, E>
impl<F1, F2, E> Sync for FnMutDelegate<F1, F2, E>
impl<F1, F2, E> Unpin for FnMutDelegate<F1, F2, E>
impl<F1, F2, E> UnsafeUnpin for FnMutDelegate<F1, F2, E>
impl<F1, F2, E> UnwindSafe for FnMutDelegate<F1, F2, E>
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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§impl<K> IntoQueryKey<K> for K
impl<K> IntoQueryKey<K> for K
§fn into_query_key(self) -> K
fn into_query_key(self) -> K
Argument conversion from
Self to K.
This should always be a very cheap conversion, e.g. [LocalDefId::to_def_id].