[−][src]Struct safe_arch::m256i
The data for a 256-bit AVX register of integer data.
- The exact layout to view the type as depends on the operation used.
From
andInto
impls are provided for all the relevant signed integer array types.- Formatting impls print as four
i32
values just because they have to pick something. If you want an alternative you can turn it into an array and print as you like.
Trait Implementations
impl Binary for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Binary formats each i32
.
let f = format!("{:b}", m256i::default()); assert_eq!(&f, "(0, 0, 0, 0, 0, 0, 0, 0)");
impl BitAnd<m256i> for m256i
[src]
type Output = Self
The resulting type after applying the &
operator.
#[must_use]fn bitand(self, rhs: Self) -> Self
[src]
impl BitAndAssign<m256i> for m256i
[src]
fn bitand_assign(&mut self, rhs: Self)
[src]
impl BitOr<m256i> for m256i
[src]
type Output = Self
The resulting type after applying the |
operator.
#[must_use]fn bitor(self, rhs: Self) -> Self
[src]
impl BitOrAssign<m256i> for m256i
[src]
fn bitor_assign(&mut self, rhs: Self)
[src]
impl BitXor<m256i> for m256i
[src]
type Output = Self
The resulting type after applying the ^
operator.
#[must_use]fn bitxor(self, rhs: Self) -> Self
[src]
impl BitXorAssign<m256i> for m256i
[src]
fn bitxor_assign(&mut self, rhs: Self)
[src]
impl Clone for m256i
[src]
#[must_use]fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for m256i
[src]
impl Debug for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Debug formats each i32
.
let f = format!("{:?}", m256i::default()); assert_eq!(&f, "m256i(0, 0, 0, 0, 0, 0, 0, 0)");
impl Default for m256i
[src]
impl Display for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Display formats each i32
, and leaves the type name off of the font.
let f = format!("{}", m256i::default()); assert_eq!(&f, "(0, 0, 0, 0, 0, 0, 0, 0)");
impl From<[i128; 2]> for m256i
[src]
impl From<[i16; 16]> for m256i
[src]
impl From<[i32; 8]> for m256i
[src]
impl From<[i64; 4]> for m256i
[src]
impl From<[i8; 32]> for m256i
[src]
impl From<[u128; 2]> for m256i
[src]
impl From<[u16; 16]> for m256i
[src]
impl From<[u32; 8]> for m256i
[src]
impl From<[u64; 4]> for m256i
[src]
impl From<[u8; 32]> for m256i
[src]
impl From<m256i> for [i8; 32]
[src]
impl From<m256i> for [u8; 32]
[src]
impl From<m256i> for [i16; 16]
[src]
impl From<m256i> for [u16; 16]
[src]
impl From<m256i> for [i32; 8]
[src]
impl From<m256i> for [u32; 8]
[src]
impl From<m256i> for [i64; 4]
[src]
impl From<m256i> for [u64; 4]
[src]
impl From<m256i> for [i128; 2]
[src]
impl From<m256i> for [u128; 2]
[src]
impl LowerExp for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
LowerExp formats each i32
.
let f = format!("{:e}", m256i::default()); assert_eq!(&f, "(0e0, 0e0, 0e0, 0e0, 0e0, 0e0, 0e0, 0e0)");
impl LowerHex for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
LowerHex formats each i32
.
let f = format!("{:x}", m256i::default()); assert_eq!(&f, "(0, 0, 0, 0, 0, 0, 0, 0)");
impl Not for m256i
[src]
type Output = Self
The resulting type after applying the !
operator.
#[must_use]fn not(self) -> Self
[src]
Not a direct intrinsic, but it's very useful and the implementation is simple enough.
Negates the bits by performing an xor
with an all-1s bit pattern.
impl Octal for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Octal formats each i32
.
let f = format!("{:o}", m256i::default()); assert_eq!(&f, "(0, 0, 0, 0, 0, 0, 0, 0)");
impl Pod for m256i
[src]
impl TransparentWrapper<__m256i> for m256i
[src]
impl UpperExp for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
UpperExp formats each i32
.
let f = format!("{:E}", m256i::default()); assert_eq!(&f, "(0E0, 0E0, 0E0, 0E0, 0E0, 0E0, 0E0, 0E0)");
impl UpperHex for m256i
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
UpperHex formats each i32
.
let f = format!("{:X}", m256i::default()); assert_eq!(&f, "(0, 0, 0, 0, 0, 0, 0, 0)");
impl Zeroable for m256i
[src]
fn zeroed() -> Self
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,