Trait shades::ToType[][src]

pub trait ToType {
    fn ty() -> Type;
}

Represent a type (primitive type and array dimension) in the EDSL.

Any type implementing ToType is representable in the EDSL. Any type implementing ToPrimType automatically also implements ToType.

Required methods

fn ty() -> Type[src]

Loading content...

Implementations on Foreign Types

impl<T, const N: usize> ToType for [T; N] where
    T: ToType
[src]

Loading content...

Implementors

impl<T> ToType for T where
    T: ToPrimType
[src]

Loading content...