pub fn is_ext_supported(ext: &str) -> bool {
    unsafe {
        let cext = CString::new(ext.as_bytes()).unwrap();
        ffi::aiIsExtensionSupported(cext.as_ptr()) == AiTrue
        //ext.with_c_str(|s| ffi::aiIsExtensionSupported(s)) == AiTrue
    }
}
/// Returns whether a given file extension is supported by assimp
///
/// # Parameters
///
/// * `extension` Extension for which the function queries support for.
///   Must include a leading dot '.'. Example: '.3ds'
Returns whether a given file extension is supported by assimp
Returns whether a given file extension is supported by assimp
pub fn is_ext_supported(ext: &str) -> bool {
    unsafe {
        let cext = CString::new(ext.as_bytes()).unwrap();
        ffi::aiIsExtensionSupported(cext.as_ptr()) == AiTrue
        //ext.with_c_str(|s| ffi::aiIsExtensionSupported(s)) == AiTrue
    }
}
pub fn is_ext_supported ( ext : & str ) -> bool { unsafe { let cext = CString :: new ( ext . as_bytes ( ) ) . unwrap ( ) ; ffi :: aiIsExtensionSupported ( cext . as_ptr ( ) ) == AiTrue //ext.with_c_str(|s| ffi::aiIsExtensionSupported(s)) == AiTrue } }
Returns whether a given file extension is supported by assimp
Returns whether a given file extension is supported by assimp
ext
&str
ext
&str