Struct eetf::ExternalFun [] [src]

pub struct ExternalFun {
    pub module: Atom,
    pub function: Atom,
    pub arity: u8,
}

External Function.

Fields

module: Atom function: Atom arity: u8

Trait Implementations

impl Clone for ExternalFun
[src]

fn clone(&self) -> ExternalFun

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

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

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

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

This method tests for !=.

impl Debug for ExternalFun
[src]

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

Formats the value using the given formatter.

impl Display for ExternalFun
[src]

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

Formats the value using the given formatter.

impl<'a, 'b> From<(&'a str, &'b str, u8)> for ExternalFun
[src]

fn from((module, function, arity): (&'a str, &'b str, u8)) -> Self

Performs the conversion.