fovea-derive 0.2.0

Derive macros for fovea pixel and image traits
Documentation
1
2
3
4
5
6
7
8
//! This test verifies that ZeroablePixel cannot be derived for structs with no fields.

use fovea_derive::ZeroablePixel;

#[derive(Clone, Copy, ZeroablePixel)]
pub struct Empty {}

fn main() {}