Skip to main content

HasType

Trait HasType 

Source
pub trait HasType<Tag> {
    type Type;
}

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<__Context__, Tag> HasType<Tag> for __Context__
where __Context__: TypeProvider<__Context__, Tag>,

Source§

type Type = <__Context__ as TypeProvider<__Context__, Tag>>::Type