pub trait List<T: CubePrimitive>:
SliceOperator<T>
+ CubeIndex<usize, Output = T>
+ CubeIndexMut<usize, Output = T>
+ Vectorized
+ CubeType<ExpandType: ListExpand<T>> {
// Provided methods
fn len(&self) -> usize { ... }
fn __expand_len(
scope: &Scope,
this: &<Self as CubeType>::ExpandType,
) -> <usize as CubeType>::ExpandType { ... }
}Expand description
Type from which we can read/to which we can write values in cube functions.
Provided Methods§
fn len(&self) -> usize
fn __expand_len( scope: &Scope, this: &<Self as CubeType>::ExpandType, ) -> <usize as CubeType>::ExpandType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".