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

Builder for a TargetIsa. Modify the ISA-specific settings before creating the TargetIsa trait object with finish.

Implementations

Gets the triple for the builder.

Iterates the available settings in the builder.

Combine the ISA-specific settings with the provided ISA-independent settings and allocate a fully configured TargetIsa trait object. May return an error if some of the flags are inconsistent or incompatible: for example, some platform-independent features, like general SIMD support, may need certain ISA extensions to be enabled.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Set the string value of any setting by name. Read more
Enable a boolean setting or apply a preset. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.