pub enum PcfValue {
Num(u64),
BoolVal(bool),
Bottom,
Fun(String),
}Expand description
An element in the realizability model of PCF.
Variants§
Num(u64)
A natural number
BoolVal(bool)
A boolean
Bottom
Undefined (bottom, ⊥)
Fun(String)
A function (as a closure description)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PcfValue
impl RefUnwindSafe for PcfValue
impl Send for PcfValue
impl Sync for PcfValue
impl Unpin for PcfValue
impl UnsafeUnpin for PcfValue
impl UnwindSafe for PcfValue
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