pub struct Fix<F: Functor>(pub Box<F::Layer<Fix<F>>>);
Expand description
heap allocated fix point of some Functor
Tuple Fields§
§0: Box<F::Layer<Fix<F>>>
Implementations§
Trait Implementations§
Source§impl<F: Functor> Recursive for Fix<F>
impl<F: Functor> Recursive for Fix<F>
type FunctorToken = F
fn into_layer(self) -> <Self::FunctorToken as Functor>::Layer<Self>
Auto Trait Implementations§
impl<F> Freeze for Fix<F>
impl<F> RefUnwindSafe for Fix<F>
impl<F> Send for Fix<F>
impl<F> Sync for Fix<F>
impl<F> Unpin for Fix<F>
impl<F> UnwindSafe for Fix<F>
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