fn _has_required_exts(exts: Vec<vk::ExtensionProperties>) -> bool {
        for n in device_extension_names().iter() {
            let mut found = false;
            for ext in &exts {
                if util::strcmp(n, &ext.extension_name) {
                    found = true;
                    break;
                }
            }
            if found == false {
                return false;
            }
        }

        true
    }
// determine if device has the required
// extensions (as given by device_extension_names())
determine if device has the required
extensions (as given by device_extension_names())
determine if device has the required extensions ( as given by device_extension_names () )
fn _has_required_exts(exts: Vec<vk::ExtensionProperties>) -> bool {
        for n in device_extension_names().iter() {
            let mut found = false;
            for ext in &exts {
                if util::strcmp(n, &ext.extension_name) {
                    found = true;
                    break;
                }
            }
            if found == false {
                return false;
            }
        }
        true
    }
fn _has_required_exts ( exts : Vec < vk :: ExtensionProperties > ) -> bool { for n in device_extension_names ( ) . iter ( ) { let mut found = false ; for ext in & exts { if util :: strcmp ( n , & ext . extension_name ) { found = true ; break ; } } if found == false { return false ; } } true }
determine if device has the required
extensions (as given by device_extension_names())
determine if device has the required extensions ( as given by device_extension_names () )
exts
Vec<vk::ExtensionProperties>
exts
Vec<vk::ExtensionProperties>