import std.bitmanip; extern(C): struct N { mixin(bitfields!( uint, "a",5, uint, "b",5, uint, "c",5, bool, "l",1)); }
这样搞.