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

A builder for constructing a node of same name. This can be used as an easy way to create a node and the references it has to another node in a simple fashion.

Implementations

Creates a builder for a node. All nodes are required to su

Tests that the builder is in a valid state to build or insert the node.

Sets the description of the node

Adds a reference to the node

Indicates this node organizes another node by its id.

Indicates this node is organised by another node by its id

Yields a built node. This function will panic if the node is invalid. Note that calling this function discards any references for the node, so there is no purpose in adding references if you intend to call this method.

Inserts the node into the address space, including references. This function will panic if the node is in an invalid state.

Specify output arguments from the method. This will create an OutputArguments variable child of the method which describes the out parameters.

Specify input arguments to the method. This will create an InputArguments variable child of the method which describes the in parameters.

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.