Trait ring::polyfill::array_split_map::ArraySplitMap

source ·
pub trait ArraySplitMap<I, O, const CN: usize, const ON: usize> {
    // Required method
    fn array_split_map(self, f: impl Fn([I; CN]) -> O) -> [O; ON];
}

Required Methods§

source

fn array_split_map(self, f: impl Fn([I; CN]) -> O) -> [O; ON]

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<I, O> ArraySplitMap<I, O, 4, 3> for [I; 12]

source§

fn array_split_map(self, f: impl Fn([I; 4]) -> O) -> [O; 3]

source§

impl<I, O> ArraySplitMap<I, O, 4, 4> for [I; 16]

source§

fn array_split_map(self, f: impl Fn([I; 4]) -> O) -> [O; 4]

source§

impl<I, O> ArraySplitMap<I, O, 4, 8> for [I; 32]

source§

fn array_split_map(self, f: impl Fn([I; 4]) -> O) -> [O; 8]

source§

impl<I, O> ArraySplitMap<I, O, 8, 2> for [I; 16]

source§

fn array_split_map(self, f: impl Fn([I; 8]) -> O) -> [O; 2]

Implementors§