sizeof(usize) == sizeof(*const)in Rust)
The pointer-sized unsigned integer type.
return None;coded at the beginning of
$ hyperfine -p 'cargo clean -p ash' 'cargo b -p ash' Benchmark 1: cargo b -p ash Time (mean ± σ): 5.174 s ± 0.027 s [User: 5.914 s, System: 0.319 s] Range (min … max): 5.101 s … 5.193 s 10 runs
&mutrather than by value; looks like the big drawback is you can't do
let foo = vk::Whatever::default().bar(..).baz(..);, which seems significant
Always suggest updating pull request branches? We just merged a PR that wasn't based off of the recent generator changes resulting in obvious CI breakage because the new code wasn't regenerated
hey, i'm trying to define a zprepass subpass, how do I provide a 'nullptr' to the GraphicsPipelineCreateInfoBuilder.color_blend_state()?
I think this is the default state if you are using
ash::vk::GraphicsPipelineCreateInfo::builder. Otherwise you can use
std::ptr::null() as the linked source does :)