brotli::enc

Type Alias 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 for Compat16x16

Source§

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

Source§

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 Compat16x16
where I: SliceIndex<[i16]>,

Source§

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 Compat16x16
where 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 Compat16x16
where i64: From<Scalar>,

Source§

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

Source§

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