pub trait SizedContainer<I: CubePrimitive>: CubeType<ExpandType: SizedContainerExpand<I>> {
// Required method
fn len(&self) -> I;
// Provided method
fn __expand_len(
scope: &Scope,
this: &<Self as CubeType>::ExpandType,
) -> <I as CubeType>::ExpandType { ... }
}Required Methods§
Provided Methods§
fn __expand_len( scope: &Scope, this: &<Self as CubeType>::ExpandType, ) -> <I as CubeType>::ExpandType
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".