Struct brotli::enc::compat::CompatF8

source ·
pub struct CompatF8([f32; 8]);

Tuple Fields§

§0: [f32; 8]

Implementations§

source§

impl CompatF8

source

pub fn splat(a: f32) -> CompatF8

source

pub fn simd_ge(&self, rhs: CompatF8) -> Compat32x8

source

pub fn simd_min(&self, rhs: CompatF8) -> CompatF8

Trait Implementations§

source§

impl Add for CompatF8

§

type Output = CompatF8

The resulting type after applying the + operator.
source§

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

Performs the + operation. Read more
source§

impl AddAssign for CompatF8

source§

fn add_assign(&mut self, other: CompatF8)

Performs the += operation. Read more
source§

impl<AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocFloatX: Allocator<floatX>, AllocV8: Allocator<v8>, AllocS16: Allocator<s16>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHistogramLiteral: Allocator<HistogramLiteral>, AllocHistogramCommand: Allocator<HistogramCommand>, AllocHistogramDistance: Allocator<HistogramDistance>, AllocHistogramPair: Allocator<HistogramPair>, AllocContextType: Allocator<ContextType>, AllocHuffmanTree: Allocator<HuffmanTree>, AllocZopfliNode: Allocator<ZopfliNode>> Allocator<CompatF8> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>

§

type AllocatedMemory = <AllocV8 as Allocator<CompatF8>>::AllocatedMemory

source§

fn alloc_cell( &mut self, size: usize, ) -> <Self as Allocator<v8>>::AllocatedMemory

source§

fn free_cell(&mut self, data: <Self as Allocator<v8>>::AllocatedMemory)

source§

impl Clone for CompatF8

source§

fn clone(&self) -> CompatF8

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 CompatF8

source§

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

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

impl Default for CompatF8

source§

fn default() -> CompatF8

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

impl From<[f32; 8]> for CompatF8

source§

fn from(value: [f32; 8]) -> Self

Converts to this type from the input type.
source§

impl<I> Index<I> for CompatF8
where I: SliceIndex<[f32]>,

§

type Output = <I as SliceIndex<[f32]>>::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 CompatF8
where I: SliceIndex<[f32]>,

source§

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

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

impl Mul for CompatF8

§

type Output = CompatF8

The resulting type after applying the * operator.
source§

fn mul(self, other: CompatF8) -> CompatF8

Performs the * operation. Read more
source§

impl Sub for CompatF8

§

type Output = CompatF8

The resulting type after applying the - operator.
source§

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

Performs the - operation. Read more
source§

impl Copy for CompatF8

Auto Trait Implementations§

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> 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.