flatty_portable/impl_.rs
1use crate::Portable;
2use core::marker::PhantomData;
3use flatty_base::vec::{FlatVec, Length};
4
5unsafe impl<T: Portable> Portable for PhantomData<T> {}
6
7unsafe impl<T: Portable + Sized, const N: usize> Portable for [T; N] {}
8
9unsafe impl<T, L> Portable for FlatVec<T, L>
10where
11 T: Portable + Sized,
12 L: Portable + Length,
13{
14}