pub struct Functions { /* private fields */ }
Expand description

A library of named functions.

Implementations

Creates a new, empty library of functions.

Returns the standard library of functions, as defined in the language reference.

Adds a new function to this library.

Calls a named function, returning an error if there is no function with that name.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.