pub enum RBody {
Native(Box<dyn Fn(&Environment, &mut Heap) -> Result<CortexValue, CortexError>>),
Interpreted(RInterpretedBody),
}
Variants§
Native(Box<dyn Fn(&Environment, &mut Heap) -> Result<CortexValue, CortexError>>)
Interpreted(RInterpretedBody)
Auto Trait Implementations§
impl Freeze for RBody
impl !RefUnwindSafe for RBody
impl !Send for RBody
impl !Sync for RBody
impl Unpin for RBody
impl !UnwindSafe for RBody
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