pub trait SizedContainer: CubeIndex<Idx: CubePrimitive, Output = Self::Item> + Sized {
type Item: CubePrimitive;
// Provided method
fn len(val: &ManagedVariable, scope: &mut Scope) -> ManagedVariable { ... }
}Required Associated Types§
type Item: CubePrimitive
Provided Methods§
Sourcefn len(val: &ManagedVariable, scope: &mut Scope) -> ManagedVariable
fn len(val: &ManagedVariable, scope: &mut Scope) -> ManagedVariable
Return the length of the container.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".