Enum eetf::InternalFun [] [src]

pub enum InternalFun {
    Old {
        module: Atom,
        pid: Pid,
        free_vars: Vec<Term>,
        index: i32,
        uniq: i32,
    },
    New {
        module: Atom,
        arity: u8,
        pid: Pid,
        free_vars: Vec<Term>,
        index: u32,
        uniq: [u8; 16],
        old_index: i32,
        old_uniq: i32,
    },
}

Internal Function.

Variants

Old

Old representation.

Fields

module: Atom
pid: Pid
free_vars: Vec<Term>
index: i32
uniq: i32
New

New representation.

Fields

module: Atom
arity: u8
pid: Pid
free_vars: Vec<Term>
index: u32
uniq: [u8; 16]
old_index: i32
old_uniq: i32

Trait Implementations

impl Clone for InternalFun
[src]

fn clone(&self) -> InternalFun

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 InternalFun
[src]

fn eq(&self, __arg_0: &InternalFun) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &InternalFun) -> bool

This method tests for !=.

impl Debug for InternalFun
[src]

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

Formats the value using the given formatter.

impl Display for InternalFun
[src]

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

Formats the value using the given formatter.