Struct llvm_rs::Interpreter

source ·
pub struct Interpreter(_);
Expand description

The interpreter backend

Trait Implementations§

What a reference to this type represents as a C pointer.
Destroy the contents at the pointer’s location. Read more
The options given to the engine upon creation.
Create a new execution engine with the given Module and optiions, or return a description of the error. Read more
Add a module to the list of modules to interpret or compile.
Remove a module from the list of modules to interpret or compile.
Execute all of the static constructors for this program.
Execute all of the static destructors for this program.
Attempt to find a function with the name given, or None if there wasn’t a function with that name. Read more
Run function with the arguments given as ``GenericValue`s, then return the result as one. Read more
Returns a pointer to the global value given. Read more
Returns a pointer to the global value with the name given. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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.