Skip to main content

Vectorized

Trait Vectorized 

Source
pub trait Vectorized: CubeType<ExpandType: VectorizedExpand> {
    // Provided methods
    fn vector_size(&self) -> VectorSize { ... }
    fn __expand_vector_size(
        _scope: &mut Scope,
        this: Self::ExpandType,
    ) -> VectorSize { ... }
}

Provided Methods§

Source

fn vector_size(&self) -> VectorSize

Source

fn __expand_vector_size( _scope: &mut Scope, this: Self::ExpandType, ) -> VectorSize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<'a, L: Vectorized> Vectorized for &'a L
where &'a L: CubeType<ExpandType: VectorizedExpand>,

Source§

impl<'a, L: Vectorized> Vectorized for &'a mut L
where &'a mut L: CubeType<ExpandType: VectorizedExpand>,

Implementors§