Struct cranelift_codegen::ir::instructions::ValueTypeSet
source · pub struct ValueTypeSet {
pub lanes: BitSet<u16>,
pub ints: BitSet<u8>,
pub floats: BitSet<u8>,
pub bools: BitSet<u8>,
pub refs: BitSet<u8>,
}
Expand description
A value type set describes the permitted set of types for a type variable.
Fields§
§lanes: BitSet<u16>
Allowed lane sizes
ints: BitSet<u8>
Allowed int widths
floats: BitSet<u8>
Allowed float widths
bools: BitSet<u8>
Allowed bool widths
refs: BitSet<u8>
Allowed ref widths
Implementations§
Trait Implementations§
source§impl Clone for ValueTypeSet
impl Clone for ValueTypeSet
source§fn clone(&self) -> ValueTypeSet
fn clone(&self) -> ValueTypeSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ValueTypeSet
impl Debug for ValueTypeSet
source§impl PartialEq<ValueTypeSet> for ValueTypeSet
impl PartialEq<ValueTypeSet> for ValueTypeSet
source§fn eq(&self, other: &ValueTypeSet) -> bool
fn eq(&self, other: &ValueTypeSet) -> bool
impl Copy for ValueTypeSet
impl Eq for ValueTypeSet
impl StructuralEq for ValueTypeSet
impl StructuralPartialEq for ValueTypeSet
Auto Trait Implementations§
impl RefUnwindSafe for ValueTypeSet
impl Send for ValueTypeSet
impl Sync for ValueTypeSet
impl Unpin for ValueTypeSet
impl UnwindSafe for ValueTypeSet
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.