pub unsafe trait ExtendableStructureBase {
// Provided methods
fn header(&self) -> *const Header { ... }
fn header_mut(&mut self) -> *mut Header { ... }
}
Expand description
A trait implemented by Vulkan C structs whose first 2 fields are: VkStructureType sType; const void* pNext; sType must always be set to STRUCTURE_TYPE This trait contains the minimum to be object safe, ExtendableStructure extends on it