io_self_derive 0.2.0

Derive macros for the io_self crate.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
#![allow(dead_code)]
use io_self_derive::{ReadSelf, WriteSelf};

#[derive(ReadSelf, WriteSelf)]
pub struct Foo {
    a: [u8; 6],
}

#[derive(ReadSelf, WriteSelf)]
pub struct Bar([Foo; 5]);

fn main() {}