pub trait VulkanResultExtensions<T> {
// Required method
fn throw_on_error(self, func_name: &str) -> Result<T, VulkanException>;
}Expand description
Names the function whose result a failure is.
Required Methods§
Sourcefn throw_on_error(self, func_name: &str) -> Result<T, VulkanException>
fn throw_on_error(self, func_name: &str) -> Result<T, VulkanException>
The value, or the failure of the function func_name.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".