Skip to main content

Div255Ext

Trait Div255Ext 

Source
pub trait Div255Ext {
    // Required method
    fn div_255(self) -> Self;
}
Expand description

A trait for implementing a fast approximal division by 255 for integers.

Required Methods§

Source

fn div_255(self) -> Self

Divide by 255.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<S: Simd> Div255Ext for u16x16<S>

Source§

fn div_255(self) -> Self

Source§

impl<S: Simd> Div255Ext for u16x32<S>

Source§

fn div_255(self) -> Self

Implementors§