pub fn from_raw(utils_label : &vk::DebugUtilsObjectNameInfoEXT) -> Self{
        let mut name = "";
        if utils_label.pObjectName != ptr::null() {
            name = unsafe { 
                CStr::from_ptr(utils_label.pObjectName).to_str().unwrap() 
            };
        }
        ObjectNameInfo{
           ty: utils_label.objectType,
           handle: utils_label.objectHandle,
           name: name,
        }
    }
/// Constructs and `ObjectNameInfo` from the raw vulkan data structure `DebugUtilsObjectNameInfoEXT` 
Constructs and `ObjectNameInfo` from the raw vulkan data structure `DebugUtilsObjectNameInfoEXT`
Constructs and ` ObjectNameInfo ` from the raw vulkan data structure ` DebugUtilsObjectNameInfoEXT `
pub fn from_raw(utils_label : &vk::DebugUtilsObjectNameInfoEXT) -> Self{
        let mut name = "";
        if utils_label.pObjectName != ptr::null() {
            name = unsafe { 
                CStr::from_ptr(utils_label.pObjectName).to_str().unwrap() 
            };
        }
        ObjectNameInfo{
           ty: utils_label.objectType,
           handle: utils_label.objectHandle,
           name: name,
        }
    }
pub fn from_raw ( utils_label : & vk :: DebugUtilsObjectNameInfoEXT ) -> Self { let mut name = " " ; if utils_label . pObjectName != ptr :: null ( ) { name = unsafe { CStr :: from_ptr ( utils_label . pObjectName ) . to_str ( ) . unwrap ( ) } ; } ObjectNameInfo { ty : utils_label . objectType , handle : utils_label . objectHandle , name : name , } }
Constructs and `ObjectNameInfo` from the raw vulkan data structure `DebugUtilsObjectNameInfoEXT`
Constructs and ` ObjectNameInfo ` from the raw vulkan data structure ` DebugUtilsObjectNameInfoEXT `
utils_label
&vk::DebugUtilsObjectNameInfoEXT
utils_label
&vk::DebugUtilsObjectNameInfoEXT