pub struct BoehmBerarducci;Expand description
Böhm-Berarducci (CPS) encoding of recursive types.
Implementations§
Source§impl BoehmBerarducci
impl BoehmBerarducci
Sourcepub fn bb_nat_type_desc() -> &'static str
pub fn bb_nat_type_desc() -> &'static str
BB-encoded natural number as higher-rank type.
Sourcepub fn bb_list_type_desc() -> &'static str
pub fn bb_list_type_desc() -> &'static str
BB-encoded list: List a = forall r. r -> (a -> r -> r) -> r.
Sourcepub fn bb_tree_type_desc() -> &'static str
pub fn bb_tree_type_desc() -> &'static str
BB-encoded rose tree: Tree a = forall r. (a -> List r -> r) -> r.
Auto Trait Implementations§
impl Freeze for BoehmBerarducci
impl RefUnwindSafe for BoehmBerarducci
impl Send for BoehmBerarducci
impl Sync for BoehmBerarducci
impl Unpin for BoehmBerarducci
impl UnsafeUnpin for BoehmBerarducci
impl UnwindSafe for BoehmBerarducci
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