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