Trait BuiltinDeref

Source
pub unsafe trait BuiltinDeref: Sized {
    type Pointee: PointeeSized;
}
🔬This is a nightly-only experimental API. (core_intrinsics)
Expand description

Types with a built-in dereference operator in runtime MIR, aka references and raw pointers.

§Safety

Must actually be such a type.

Required Associated Types§

Source

type Pointee: PointeeSized

🔬This is a nightly-only experimental API. (core_intrinsics)

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§