Type

Trait Type 

Source
pub trait Type:
    'static
    + Clone
    + Copy
    + Default { }

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.

Implementations on Foreign Types§

Source§

impl Type for ()

Source§

impl<A: Type, B: Type> Type for (A, B)

Implementors§

Source§

impl Type for Bool

Source§

impl Type for Nat

Source§

impl<A: Type, B: Type> Type for Lambda<A, B>

Source§

impl<T: Type> Type for List<T>

Source§

impl<T: Type> Type for Maybe<T>