Enum asi_vulkan::types::VkResult [] [src]

#[repr(C)] #[must_use = "Vulkan Result may be an error"]
pub enum VkResult { Success, NotReady, Timeout, EventSet, EventReset, Incomplete, OutOfHostMemory, OutOfDeviceMemory, InitFailed, DeviceLost, MemoryMapFailed, LayerNotPresent, ExtNotPresent, FeatureNotPresent, IncompatDriver, TooManyObjects, BadFormat, FragmentedPool, Other, SurfaceLostKhr, NativeWindowInUseKhr, SuboptimalKhr, OutOfDateKhr, IncompatibleDisplayKhr, OutOfPoolMemoryKhr, InvalidExternalHandleKhr, }

Variants

Methods

impl VkResult
[src]

[src]

Panic with error if not VkResult::Success or VkResult::Incomplete.

Trait Implementations

impl PartialEq for VkResult
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Display for VkResult
[src]

[src]

Formats the value using the given formatter. Read more