Type Alias brotli::enc::s16

source ·
pub type s16 = Compat16x16;

Aliased Type§

struct s16([i16; 16]);

Fields§

§0: [i16; 16]

Implementations§

source§

impl Compat16x16

source

pub fn splat(a: i16) -> Compat16x16

source

pub fn to_int(&self) -> Self

source

pub fn simd_gt(&self, rhs: Compat16x16) -> Compat16x16

Trait Implementations§

source§

impl Add<Compat16x16> for Compat16x16

§

type Output = Compat16x16

The resulting type after applying the + operator.
source§

fn add(self, other: Compat16x16) -> Compat16x16

Performs the + operation. Read more
source§

impl BitAnd<Compat16x16> for Compat16x16

§

type Output = Compat16x16

The resulting type after applying the & operator.
source§

fn bitand(self, other: Compat16x16) -> Compat16x16

Performs the & operation. Read more
source§

impl Clone for Compat16x16

source§

fn clone(&self) -> Compat16x16

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 Debug for Compat16x16

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Compat16x16

source§

fn default() -> Compat16x16

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

impl From<[i16; 16]> for Compat16x16

source§

fn from(value: [i16; 16]) -> Self

Converts to this type from the input type.
source§

impl<I> Index<I> for Compat16x16where I: SliceIndex<[i16]>,

§

type Output = <I as SliceIndex<[i16]>>::Output

The returned type after indexing.
source§

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

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

impl<I> IndexMut<I> for Compat16x16where I: SliceIndex<[i16]>,

source§

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

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

impl<Scalar: Clone> Shr<Scalar> for Compat16x16where i64: From<Scalar>,

§

type Output = Compat16x16

The resulting type after applying the >> operator.
source§

fn shr(self, other: Scalar) -> Compat16x16

Performs the >> operation. Read more
source§

impl Sub<Compat16x16> for Compat16x16

§

type Output = Compat16x16

The resulting type after applying the - operator.
source§

fn sub(self, other: Compat16x16) -> Compat16x16

Performs the - operation. Read more
source§

impl Copy for Compat16x16