Trait Type

Source
pub(crate) trait Type:
    Debug
    + Hash
    + Eq
    + PartialEq
    + Copy
    + Clone { }

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<'tcx> Type for Ty<'tcx>

Implementors§