Struct selfish::Closure
[−]
[src]
pub struct Closure { pub binds: Vec<String>, pub body: Value, pub env: Environment, pub is_macro: bool, }
Fields
binds: Vec<String>
body: Value
env: Environment
is_macro: bool
Trait Implementations
impl Clone for Closure
[src]
fn clone(&self) -> Closure
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Closure
[src]
fn eq(&self, _: &Closure) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.