Struct oxischeme::value::Primitive [-]  [+] [src]

pub struct Primitive {
    // some fields omitted
}

A primitive procedure, such as Scheme's + or cons.

Methods

impl Primitive

fn call(&self, heap: &mut Heap, args: Vec<RootedValue>) -> TrampolineResult

Trait Implementations

impl PartialEq for Primitive

fn eq(&self, rhs: &Primitive) -> bool

fn ne(&self, other: &Rhs) -> bool

impl Eq for Primitive

fn assert_receiver_is_total_eq(&self)

impl<S: Writer + Hasher> Hash<S> for Primitive

fn hash(&self, state: &mut S)

impl Debug for Primitive

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Copy for Primitive