PointIndex

Trait PointIndex 

Source
pub trait PointIndex: Point + Index<usize, Output = Self::Scalar> { }
Expand description

Optional capability trait for component access via indexing.

This is required for methods that need per-axis values (e.g. bounding boxes).

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.

Implementors§

Source§

impl<T> PointIndex for T
where T: Point + Index<usize, Output = Self::Scalar>,