pub enum ScalarSize {
Size8,
Size16,
Size32,
Size64,
Size128,
}
Available on crate feature
arm64
only.Expand description
Type used to communicate the size of a scalar SIMD & FP operand.
Variants§
Implementations§
Source§impl ScalarSize
impl ScalarSize
Sourcepub fn operand_size(&self) -> OperandSize
pub fn operand_size(&self) -> OperandSize
Convert to an integer operand size.
Sourcepub 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.
Sourcepub fn widen(&self) -> ScalarSize
pub fn widen(&self) -> ScalarSize
Return the widened version of the scalar size.
Sourcepub fn narrow(&self) -> ScalarSize
pub fn narrow(&self) -> ScalarSize
Return the narrowed version of the scalar size.
Trait Implementations§
Source§impl Clone for ScalarSize
impl Clone for ScalarSize
Source§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 moreSource§impl Debug for ScalarSize
impl Debug for ScalarSize
Source§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,
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.