Struct ketos::function::Function [] [src]

pub struct Function {
    pub name: Name,
    pub sys_fn: SystemFn,
}

Represents a function implemented in Rust.

Fields

name: Name

Function name

sys_fn: SystemFn

System function

Trait Implementations

impl Clone for Function
[src]

fn clone(&self) -> Function

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 Copy for Function
[src]

impl Debug for Function
[src]

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

Formats the value using the given formatter.

impl PartialEq for Function
[src]

fn eq(&self, rhs: &Function) -> 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 !=.