Type in rustc_transmute::layout - Rust
Description: API documentation for the Rust `Type` trait in crate `rustc_transmute`.

Skip to main content

## Type

# 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§