Struct cranelift_codegen::ir::instructions::ValueTypeSet[][src]

pub struct ValueTypeSet {
    pub lanes: BitSet<u16>,
    pub ints: BitSet<u8>,
    pub floats: BitSet<u8>,
    pub bools: BitSet<u8>,
}

A value type set describes the permitted set of types for a type variable.

Fields

Allowed lane sizes

Allowed int widths

Allowed float widths

Allowed bool widths

Methods

impl ValueTypeSet
[src]

Does typ belong to this set?

Get an example member of this type set.

This is used for error messages to avoid suggesting invalid types.

Trait Implementations

impl Clone for ValueTypeSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ValueTypeSet
[src]

impl Debug for ValueTypeSet
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ValueTypeSet
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ValueTypeSet
[src]

Auto Trait Implementations