[][src]Trait melange::tensor::shape::If

pub trait If<T, Else> {
    type Output;
}

Conditionnal trait operator:

  • outputs T if the implementor is B1,
  • outputs Else otherwise.

Associated Types

type Output

Loading content...

Implementations on Foreign Types

impl<T, Else> If<T, Else> for B1[src]

type Output = T

impl<T, Else> If<T, Else> for B0[src]

type Output = Else

Loading content...

Implementors

Loading content...