Struct incrust::types::function::Function [] [src]

pub struct Function {
    pub f: fn(&[BType], &Context) -> EvalResult,
}

Fields

Methods

impl Function
[src]

Trait Implementations

impl Clone for Function
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Function
[src]

Formats the value using the given formatter.

impl Type for Function
[src]

impl<'a> Into<BType<'a>> for Function
[src]

Performs the conversion.

impl<'b> AsInvocable for Function
[src]

impl<'a, 'b: 'a> IInvocable<'a> for Function
[src]