mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 13:16:44 +01:00
* crates re-organisation * fixed typo in layout & added test for vmp_apply * updated dependencies
14 lines
248 B
Rust
14 lines
248 B
Rust
use std::marker::PhantomData;
|
|
|
|
use crate::layouts::Backend;
|
|
|
|
pub struct ScratchOwned<B: Backend> {
|
|
pub data: Vec<u8>,
|
|
pub _phantom: PhantomData<B>,
|
|
}
|
|
|
|
pub struct Scratch<B: Backend> {
|
|
pub _phantom: PhantomData<B>,
|
|
pub data: [u8],
|
|
}
|