fovea-derive 0.2.0

Derive macros for fovea pixel and image traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! This test verifies that empty `#[zero()]` (with empty parentheses) is rejected.

use fovea_derive::ZeroablePixel;

#[derive(Clone, Copy, ZeroablePixel)]
pub struct BadPixel {
    #[zero()]
    pub x: u8,
}

fn main() {}