mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 21:26:41 +01:00
Crates io (#76)
* crates re-organisation * fixed typo in layout & added test for vmp_apply * updated dependencies
This commit is contained in:
committed by
GitHub
parent
dce4d82706
commit
a1de248567
13
poulpy-hal/src/layouts/scratch.rs
Normal file
13
poulpy-hal/src/layouts/scratch.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
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],
|
||||
}
|
||||
Reference in New Issue
Block a user