RealSliceExt

Trait RealSliceExt 

Source
pub trait RealSliceExt {
    // Required method
    fn array<const N: usize>(&self, offset: usize) -> [Real; N];
}

Required Methods§

Source

fn array<const N: usize>(&self, offset: usize) -> [Real; N]

Returns a array of the given size starting at the given offset.

§Panics

Panics if there are not enough elements.

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.

Implementations on Foreign Types§

Source§

impl RealSliceExt for [Real]

Source§

fn array<const N: usize>(&self, offset: usize) -> [Real; N]

Implementors§