Struct arrow2::types::simd::u16x32

source ·
pub struct u16x32(pub [u16; 32]);
Expand description

Multi-Data correspondence of the native type

Tuple Fields§

§0: [u16; 32]

Trait Implementations§

source§

impl Clone for u16x32

source§

fn clone(&self) -> u16x32

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for u16x32

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Index<usize> for u16x32

§

type Output = u16

The returned type after indexing.
source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
source§

impl IndexMut<usize> for u16x32

source§

fn index_mut(&mut self, index: usize) -> &mut Self::Output

Performs the mutable indexing (container[index]) operation. Read more
source§

impl NativeSimd for u16x32

source§

const LANES: usize = 32usize

Number of lanes
§

type Native = u16

The NativeType of this struct. E.g. f32 for a NativeSimd = f32x16.
§

type Chunk = u32

The type holding bits for masks.
§

type Mask = u32

Type used for masking.
source§

fn select(self, mask: u32, default: Self) -> Self

Sets values to default based on mask.
source§

fn from_chunk(v: &[u16]) -> Self

Convert itself from a slice. Read more
source§

fn from_incomplete_chunk(v: &[u16], remaining: u16) -> Self

creates a new Self from v by populating items from v up to its length. Items from v at positions larger than the number of lanes are ignored; remaining items are populated with remaining.
source§

fn align(values: &[Self::Native]) -> (&[Self::Native], &[Self], &[Self::Native])

Returns a tuple of 3 items whose middle item is itself, and the remaining are the head and tail of the un-aligned parts.
source§

impl Copy for u16x32

Auto Trait Implementations§

§

impl Freeze for u16x32

§

impl RefUnwindSafe for u16x32

§

impl Send for u16x32

§

impl Sync for u16x32

§

impl Unpin for u16x32

§

impl UnwindSafe for u16x32

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.