pub trait Pointer {
type Target: ?Sized;
// Required method
fn get(&self) -> *const Self::Target;
}Expand description
Type that stores its value in an allocation and can retrieve a pointer to the value.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".