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
sourceimpl Clone for ValueTypeSet
impl Clone for ValueTypeSet
sourcefn clone(&self) -> ValueTypeSet
fn clone(&self) -> ValueTypeSet
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ValueTypeSet
impl Debug for ValueTypeSet
sourceimpl PartialEq<ValueTypeSet> for ValueTypeSet
impl PartialEq<ValueTypeSet> for ValueTypeSet
sourcefn eq(&self, other: &ValueTypeSet) -> bool
fn eq(&self, other: &ValueTypeSet) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ValueTypeSet) -> bool
fn ne(&self, other: &ValueTypeSet) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.