pub unsafe trait Opaque { }Expand description
Marker for a type whose value representation is opaque (unreadable).
Opaque types must only be passed through their supported pointer representation.
§Safety
Implementors must ensure RustSpec implementation is that of an opaque type.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".