Struct cranelift_codegen::ir::instructions::ValueTypeSet
source · pub struct ValueTypeSet {
pub lanes: BitSet<u16>,
pub ints: BitSet<u8>,
pub floats: BitSet<u8>,
pub refs: BitSet<u8>,
pub dynamic_lanes: BitSet<u16>,
}
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
refs: BitSet<u8>
Allowed ref widths
dynamic_lanes: BitSet<u16>
Allowed dynamic vectors minimum lane sizes
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 Default for ValueTypeSet
impl Default for ValueTypeSet
source§fn default() -> ValueTypeSet
fn default() -> ValueTypeSet
Returns the “default value” for a type. Read more
source§impl PartialEq for ValueTypeSet
impl PartialEq for ValueTypeSet
source§fn 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 ==
.impl Copy for ValueTypeSet
impl Eq for ValueTypeSet
impl StructuralPartialEq for ValueTypeSet
Auto Trait Implementations§
impl Freeze for ValueTypeSet
impl RefUnwindSafe for ValueTypeSet
impl Send for ValueTypeSet
impl Sync for ValueTypeSet
impl Unpin for ValueTypeSet
impl UnwindSafe for ValueTypeSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.