Slicer

Trait Slicer 

Source
pub trait Slicer<'a, H, D, Directive> {
    // Required method
    fn slice(h: &'a H) -> Self;
}
Expand description

Represents a type that can construct itself by rearranging the fields of the original type H.

Required Methods§

Source

fn slice(h: &'a H) -> Self

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<'a, H, D1, D2, R, A1, A2, Tail> Slicer<'a, H, D1, SlicerDirective<A1, SlicerDirective<A2, Tail>>> for HMatRef<'a, D1, HMatRef<'a, D2, R>>
where H: AccessRowRef<D1, A1> + AccessRowRef<D2, A2>, HMatRef<'a, D2, R>: Slicer<'a, H, D2, SlicerDirective<A2, Tail>>,

Source§

impl<'a, H, D, A> Slicer<'a, H, D, SlicerDirective<A, ()>> for HMatRef<'a, D, ()>
where H: AccessRowRef<D, A>,