pub struct FunctionBuilder<F = Identity> { /* private fields */ }
Expand description

Function definition builder

Implementations

New function builder

New function builder with chained callback

Set that this function is main entry point

Start signature builder of the function

Override current signature entirely with new one from known struct

Start code (body) builder

Set body (code) for this function

Finalize current builder spawning resulting struct in the callback

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.