Struct cl_interpret::builtin::eq
source · pub struct eq;
Expand description
Tests whether a == b
ⓘ
builtin! fn eq (lhs, rhs) -> IResult<ConValue> { cmp!(lhs, rhs, true, ==) }
Trait Implementations§
source§impl Callable for eq
impl Callable for eq
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 eq
impl RefUnwindSafe for eq
impl Send for eq
impl Sync for eq
impl Unpin for eq
impl UnwindSafe for eq
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