Skip to main content

SliceVectorExt

Trait SliceVectorExt 

Source
pub trait SliceVectorExt<E: Scalar, N: Size> {
    // Provided methods
    fn with_vector_size<N2: Size>(&self) -> &[Vector<E, N2>] { ... }
    fn with_vector_size_mut<N2: Size>(&mut self) -> &mut [Vector<E, N2>] { ... }
    fn __expand_with_vector_size<'infer, N2: Size>(
        scope: &Scope,
        this: &'infer SliceExpand<Vector<E, N>>,
    ) -> &'infer SliceExpand<Vector<E, N2>> { ... }
    fn __expand_with_vector_size_mut<'infer, N2: Size>(
        scope: &Scope,
        this: &'infer mut SliceExpand<Vector<E, N>>,
    ) -> &'infer mut SliceExpand<Vector<E, N2>> { ... }
}

Provided Methods§

Source

fn with_vector_size<N2: Size>(&self) -> &[Vector<E, N2>]

Source

fn with_vector_size_mut<N2: Size>(&mut self) -> &mut [Vector<E, N2>]

Source

fn __expand_with_vector_size<'infer, N2: Size>( scope: &Scope, this: &'infer SliceExpand<Vector<E, N>>, ) -> &'infer SliceExpand<Vector<E, N2>>

Source

fn __expand_with_vector_size_mut<'infer, N2: Size>( scope: &Scope, this: &'infer mut SliceExpand<Vector<E, N>>, ) -> &'infer mut SliceExpand<Vector<E, N2>>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<E: Scalar, N: Size> SliceVectorExt<E, N> for [Vector<E, N>]

Implementors§