pub trait Point {
type T: Scalar;
// Required methods
fn index(&self) -> usize;
fn dim(&self) -> usize;
fn coords(&self, data: &mut [Self::T]);
}Expand description
A point
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".