pub struct ValueTypeSet {
pub lanes: ScalarBitSet<u16>,
pub ints: ScalarBitSet<u8>,
pub floats: ScalarBitSet<u8>,
pub dynamic_lanes: ScalarBitSet<u16>,
}
Expand description
A value type set describes the permitted set of types for a type variable.
Fields§
§lanes: ScalarBitSet<u16>
Allowed lane sizes
ints: ScalarBitSet<u8>
Allowed int widths
floats: ScalarBitSet<u8>
Allowed float widths
dynamic_lanes: ScalarBitSet<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
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.