pub unsafe trait ReadVariant: PlaceHandle{
// Required method
unsafe fn read_variant(self) -> &'static str;
}Expand description
Obtain the discriminant of the contents of a place.
Required Methods§
unsafe fn read_variant(self) -> &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".