Enum ScalarSize
pub enum ScalarSize {
Size8,
Size16,
Size32,
Size64,
Size128,
}
Expand description
Type used to communicate the size of a scalar SIMD & FP operand.
Variants§
Implementations§
§impl ScalarSize
impl ScalarSize
pub fn operand_size(&self) -> OperandSize
pub fn operand_size(&self) -> OperandSize
Convert to an integer operand size.
pub fn ftype(&self) -> u32
pub fn ftype(&self) -> u32
Return the encoding bits that are used by some scalar FP instructions for a particular operand size.
pub fn widen(&self) -> ScalarSize
pub fn widen(&self) -> ScalarSize
Return the widened version of the scalar size.
pub fn narrow(&self) -> ScalarSize
pub fn narrow(&self) -> ScalarSize
Return the narrowed version of the scalar size.
Trait Implementations§
§impl Clone for ScalarSize
impl Clone for ScalarSize
§fn clone(&self) -> ScalarSize
fn clone(&self) -> ScalarSize
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 more§impl Debug for ScalarSize
impl Debug for ScalarSize
§impl PartialEq for ScalarSize
impl PartialEq for ScalarSize
impl Copy for ScalarSize
impl Eq for ScalarSize
impl StructuralPartialEq for ScalarSize
Auto Trait Implementations§
impl Freeze for ScalarSize
impl RefUnwindSafe for ScalarSize
impl Send for ScalarSize
impl Sync for ScalarSize
impl Unpin for ScalarSize
impl UnwindSafe for ScalarSize
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more