[][src]Enum weld::ast::IterKind

pub enum IterKind {
    ScalarIter,
    SimdIter,
    FringeIter,
    NdIter,
    RangeIter,
}

Iterator kinds in the Weld IR.

An iterator defines how a for loop iterates over data.

Variants

ScalarIter

A standard scalar iterator.

SimdIter

A SIMD iterator.

This iterator fetches multiple elements packed into a SIMD value per loop iteration.

FringeIter

A fringe iterator.

This iterator handles the fringe of a SIMD iterator (i.e., if the number of elements in the source is not a multiple of the fixed SIMD width). The elements are processed using scalar code.

NdIter

An interator over a N-dimensional tensor.

RangeIter

An interator over a finite integer range.

Trait Implementations

impl Clone for IterKind[src]

impl Debug for IterKind[src]

impl Display for IterKind[src]

impl Eq for IterKind[src]

impl Hash for IterKind[src]

impl PartialEq<IterKind> for IterKind[src]

impl StructuralEq for IterKind[src]

impl StructuralPartialEq for IterKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.