1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::Portable;
use core::marker::PhantomData;
use flatty_base::vec::{FlatVec, Length};

unsafe impl<T: Portable> Portable for PhantomData<T> {}

unsafe impl<T: Portable + Sized, const N: usize> Portable for [T; N] {}

unsafe impl<T, L> Portable for FlatVec<T, L>
where
    T: Portable + Sized,
    L: Portable + Length,
{
}