Enum cranelift_reader::IsaSpec[][src]

pub enum IsaSpec {
    None(Flags),
    Some(Vec<Box<dyn TargetIsa>>),
}
Expand description

The ISA specifications in a .clif file.

Variants

None

The parsed file does not contain any isa commands, but it may contain set commands which are reflected in the finished Flags object.

Tuple Fields of None

0: Flags
Some

The parsed file does contain isa commands. Each isa command is used to configure a TargetIsa trait object.

Tuple Fields of Some

0: Vec<Box<dyn TargetIsa>>

Implementations

If the IsaSpec contains exactly 1 TargetIsa we return a reference to it

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

Performs the conversion.

Performs the conversion.

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.