Skip to main content

IndexExpand

Trait IndexExpand 

Source
pub trait IndexExpand<I> {
    type Output;

    // Required method
    fn __expand_index_method(&self, scope: &Scope, index: I) -> &Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn __expand_index_method(&self, scope: &Scope, index: I) -> &Self::Output

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<E: CubePrimitive> IndexExpand<NativeExpand<usize>> for NativeExpand<Array<E>>

Source§

impl<E: CubePrimitive> IndexExpand<NativeExpand<usize>> for NativeExpand<Shared<[E]>>

Source§

impl<E: CubePrimitive> IndexExpand<NativeExpand<usize>> for SliceExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<NativeExpand<usize>> for TensorExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeExpand<usize>> for NativeExpand<Array<E>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeExpand<usize>> for NativeExpand<Shared<[E]>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeExpand<usize>> for SliceExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeExpand<usize>> for TensorExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFromExpand<usize>> for NativeExpand<Array<E>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFromExpand<usize>> for NativeExpand<Shared<[E]>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFromExpand<usize>> for SliceExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFromExpand<usize>> for TensorExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFullExpand> for NativeExpand<Array<E>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFullExpand> for NativeExpand<Shared<[E]>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFullExpand> for SliceExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeFullExpand> for TensorExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeInclusiveExpand<usize>> for NativeExpand<Array<E>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeInclusiveExpand<usize>> for NativeExpand<Shared<[E]>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeInclusiveExpand<usize>> for SliceExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeInclusiveExpand<usize>> for TensorExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToExpand<usize>> for NativeExpand<Array<E>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToExpand<usize>> for NativeExpand<Shared<[E]>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToExpand<usize>> for SliceExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToExpand<usize>> for TensorExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToInclusiveExpand<usize>> for NativeExpand<Array<E>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToInclusiveExpand<usize>> for NativeExpand<Shared<[E]>>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToInclusiveExpand<usize>> for SliceExpand<E>

Source§

impl<E: CubePrimitive> IndexExpand<RangeToInclusiveExpand<usize>> for TensorExpand<E>

Source§

impl<T: CubeType> IndexExpand<NativeExpand<usize>> for SequenceExpand<T>