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
9
poulpy-hal/src/layouts/serialization.rs
Normal file
9
poulpy-hal/src/layouts/serialization.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
use std::io::{Read, Result, Write};
|
||||
|
||||
pub trait WriterTo {
|
||||
fn write_to<W: Write>(&self, writer: &mut W) -> Result<()>;
|
||||
}
|
||||
|
||||
pub trait ReaderFrom {
|
||||
fn read_from<R: Read>(&mut self, reader: &mut R) -> Result<()>;
|
||||
}
|
||||
Reference in New Issue
Block a user