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

Multi-step constructor using the builder pattern for a MethodLoad event.

Implementations

Creates a new MethodLoadBuilder from scratch.

addr is the pointer to the start of the code region, len is the size of this code region in bytes.

Attache a class file.

Attach a source file.

Build a “method load” event for the given method_id.

Errors

May fail if the various names passed to this builder are not valid C strings.

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.