Struct cl_interpret::builtin::dump
source · pub struct dump;
Expand description
Dumps info from the environment
ⓘ
builtin! fn dump () -> IResult<ConValue>
{ println!("{}", *env); Ok(ConValue::Empty) }
Trait Implementations§
source§impl Callable for dump
impl Callable for dump
source§fn call(&self, env: &mut Environment, args: &[ConValue]) -> IResult<ConValue>
fn call(&self, env: &mut Environment, args: &[ConValue]) -> IResult<ConValue>
Calls this Callable in the provided Environment, with ConValue args
The Callable is responsible for checking the argument count and validating types
The Callable is responsible for checking the argument count and validating types
Auto Trait Implementations§
impl Freeze for dump
impl RefUnwindSafe for dump
impl Send for dump
impl Sync for dump
impl Unpin for dump
impl UnwindSafe for dump
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