I am trying to port a vulkan project from C++ into rust.
Right now I am trying to translate the following snippet:
auto enabled = vk::ValidationFeatureEnableEXT::eBestPractices;
vk::ValidationFeaturesEXT features;
features.enabledValidationFeatureCount = 0;
features.pEnabledValidationFeatures = &enabled;
I have looked into the docs and I cannot, for the life of me, find a definition that maps into VkValidationFeatureEnableEXT.
In fact looking into the definition of the create info struct
https://docs.rs/vulkano/latest/vulkano/instance/struct.InstanceCreateInfo.html
I don't even see the pNext field which all structs in vulkan need for extended functionality.
How do I use extensions?