pub struct dbgp;
Expand description
ⓘ
builtin! fn dbgp () -> IResult<ConValue>
{
let mut out = stdout().lock(); for arg in args
{ writeln!(out, "{arg:#?}").ok(); } Ok(ConValue::Empty)
}
Trait Implementations§
Source§impl Callable for dbgp
impl Callable for dbgp
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 dbgp
impl RefUnwindSafe for dbgp
impl Send for dbgp
impl Sync for dbgp
impl Unpin for dbgp
impl UnwindSafe for dbgp
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