pub struct PartialExpansion<R: Recursive> {
pub wrapped: R,
pub f: Arc<dyn Fn(<<R as Recursive>::FunctorToken as Functor>::Layer<R>) -> <<R as Recursive>::FunctorToken as Functor>::Layer<Option<R>>>,
}
Fields§
§wrapped: R
§f: Arc<dyn Fn(<<R as Recursive>::FunctorToken as Functor>::Layer<R>) -> <<R as Recursive>::FunctorToken as Functor>::Layer<Option<R>>>
Trait Implementations§
Source§impl<R: Recursive> Recursive for PartialExpansion<R>
impl<R: Recursive> Recursive for PartialExpansion<R>
type FunctorToken = Compose<<R as Recursive>::FunctorToken, Option<PartiallyApplied>>
fn into_layer(self) -> <Self::FunctorToken as Functor>::Layer<Self>
Auto Trait Implementations§
impl<R> Freeze for PartialExpansion<R>where
R: Freeze,
impl<R> !RefUnwindSafe for PartialExpansion<R>
impl<R> !Send for PartialExpansion<R>
impl<R> !Sync for PartialExpansion<R>
impl<R> Unpin for PartialExpansion<R>where
R: Unpin,
impl<R> !UnwindSafe for PartialExpansion<R>
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