Trait WithTypeArg

Source
pub trait WithTypeArg<T: ?Sized> {
    type Type: TypeApp<Self, T>;
}

Required Associated Types§

Source

type Type: TypeApp<Self, T>

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.

Implementors§

Source§

impl<T> WithTypeArg<T> for haskell_bits::impls::OptionTypeCon

Source§

impl<T> WithTypeArg<T> for haskell_bits::impls::VecTypeCon

Source§

type Type = Vec<T>

Source§

impl<T, E> WithTypeArg<T> for haskell_bits::impls::ResultTypeCon<E>

Source§

type Type = Result<T, E>