Result

Type Alias Result 

Source
pub type Result<T> = Result<T, Result>;
Expand description

Result type for most Vulkan API calls, if they support them. Currently non-error return values are handled as Err(..) (also see Missing parts on top).

Aliased Type§

pub enum Result<T> {
    Ok(T),
    Err(u32),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(u32)

Contains the error value