1 2 3 4 5 6 7 8 9
mod write_only { pub struct Surface { pub id: u32, } } structio::object!(write_only::Surface { id }); fn main() {}