pub(crate) trait Pointer {
type T;
// Required methods
fn free(&mut self);
fn as_const_ptr(&self) -> *const Self::T;
fn as_mut_ptr(&mut self) -> *mut Self::T;
}Required Associated Types§
Required Methods§
fn free(&mut self)
fn as_const_ptr(&self) -> *const Self::T
fn as_mut_ptr(&mut self) -> *mut Self::T
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".