Trait SizedContainer

Source
pub trait SizedContainer: CubeIndex<Output = Self::Item> + Sized {
    type Item: CubePrimitive;

    // Provided method
    fn len(val: &ExpandElement, scope: &mut Scope) -> ExpandElement { ... }
}

Required Associated Types§

Provided Methods§

Source

fn len(val: &ExpandElement, scope: &mut Scope) -> ExpandElement

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", so this trait is not object safe.

Implementors§