Trait Premultiply

Source
pub(crate) trait Premultiply {
    // Required methods
    fn premultiply(self, alphas: Self) -> Self;
    fn unpremultiply(self, alphas: Self) -> Self;
}

Required Methods§

Source

fn premultiply(self, alphas: Self) -> Self

Source

fn unpremultiply(self, alphas: Self) -> Self

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> Premultiply for f32x4<S>

Source§

fn premultiply(self, alphas: Self) -> Self

Source§

fn unpremultiply(self, alphas: Self) -> Self

Implementors§