extern crate structview; use structview::View; #[derive(Clone, Copy, View)] #[repr(C)] struct Test { foo: T, } fn main() {}