pub struct Codata<F> { /* private fields */ }Expand description
Codata<F> represents the greatest fixed point of the functor F.
Because Rust does not support infinite types directly, we model it as an
explicit thunk: call unfold() to expose one layer of the codata on demand.
Implementations§
Auto Trait Implementations§
impl<F> Freeze for Codata<F>
impl<F> !RefUnwindSafe for Codata<F>
impl<F> !Send for Codata<F>
impl<F> !Sync for Codata<F>
impl<F> Unpin for Codata<F>
impl<F> UnsafeUnpin for Codata<F>
impl<F> !UnwindSafe for Codata<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