Struct ketos::value::ForeignFn [] [src]

pub struct ForeignFn<F> { /* fields omitted */ }

Represents a foreign value that contains a callable function or closure

Trait Implementations

impl<F> Debug for ForeignFn<F>
[src]

Formats the value using the given formatter.

impl<F> ForeignValue for ForeignFn<F> where F: Any + Fn(&Context, &mut [Value]) -> Result<Value, Error>
[src]

Performs ordered comparison between two values of a foreign type. Read more

Format the value in debugging mode. Read more

Return the value's type name.

Calls the value as a function. Read more

Performs ordered comparison between two values. Read more

Returns whether the two values are identical. This concept is the same as equality, except in the case of floating point values, where two NaN values are considered identical. Read more

Tests for equality between two values of a foreign type. Read more

Tests for equality between two values. Read more

Format the value in display mode. Read more

Returns whether this value is of the named type. Read more

Returns an estimate of the memory held by this value. Read more