Struct incrust::types::function::Function
[−]
[src]
pub struct Function {
pub f: fn(&[Cow<BType>], &Context) -> EvalResult<BType>,
}Fields
f: fn(&[Cow<BType>], &Context) -> EvalResult<BType>
Methods
impl Function[src]
Trait Implementations
impl Clone for Function[src]
fn clone(&self) -> Self
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 Debug for Function[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.