pub struct WithContext<R: Recursive>(pub R);
Tuple Fields§
§0: R
Trait Implementations§
Source§impl<R: Recursive + Copy> Recursive for WithContext<R>
impl<R: Recursive + Copy> Recursive for WithContext<R>
type FunctorToken = Compose<<R as Recursive>::FunctorToken, (R, PartiallyApplied)>
fn into_layer(self) -> <Self::FunctorToken as Functor>::Layer<Self>
Auto Trait Implementations§
impl<R> Freeze for WithContext<R>where
R: Freeze,
impl<R> RefUnwindSafe for WithContext<R>where
R: RefUnwindSafe,
impl<R> Send for WithContext<R>where
R: Send,
impl<R> Sync for WithContext<R>where
R: Sync,
impl<R> Unpin for WithContext<R>where
R: Unpin,
impl<R> UnwindSafe for WithContext<R>where
R: 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