orx_v/fun/
impl_into_cached.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
use super::FunVec;
use crate::{Card, Dim, IntoCached, NVec};
use core::hash::Hash;

impl<D, T, F, C> IntoCached<D, T> for FunVec<D, T, F, C>
where
    D: Dim,
    F: Fn(D::Idx) -> T,
    C: Card<D>,
    T: Copy,
    D::Idx: Ord + Hash,
    Self: NVec<D, T>,
{
}