Skip to main content

AsRefVectorParts

Trait AsRefVectorParts 

Source
pub trait AsRefVectorParts<T: VectorScalar, const N: usize> {
    // Required method
    fn as_ref_parts(&self) -> &[T; N];
}
Expand description

Enables reading from the vector (via &[T; N])

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§