Skip to main content

SizedContainer

Trait SizedContainer 

Source
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§

Provided Methods§

Source

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".

Implementors§