mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 21:26:41 +01:00
* crates re-organisation * fixed typo in layout & added test for vmp_apply * updated dependencies
10 lines
218 B
Rust
10 lines
218 B
Rust
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<()>;
|
|
}
|