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

A data structure which holds data for multiple function targets, and allows to manipulate them as part of a transformation pipeline.

Implementations

Get an iterator for all functions this holder.

Gets an iterator for all functions and variants in this holder.

Adds a new function target. The target will be initialized from the Move byte code.

Gets a function target for read-only consumption, for the given variant.

Gets all available variants for function.

Gets targets for all available variants.

Gets function data for a variant.

Gets mutable function data for a variant.

Removes function data for a variant.

Sets function data for a function’s variant.

Trait Implementations

Formats the value using the given formatter. Read more

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.

Should always be Self

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.