pub trait SectionPos {
// Required methods
fn coords(&self) -> (usize, usize, usize);
fn new(x: usize, y: usize, z: usize) -> Self;
}
Expand description
A trait for position types that are sometimes valid ways to index into a chunk section.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.