[][src]Struct ash::vk::Result

#[repr(transparent)]pub struct Result(_);

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkResult.html

Methods

impl Result[src]

pub fn from_raw(x: i32) -> Self[src]

pub fn as_raw(self) -> i32[src]

impl Result[src]

pub const SUCCESS: Self[src]

Command completed successfully

pub const NOT_READY: Self[src]

A fence or query has not yet completed

pub const TIMEOUT: Self[src]

A wait operation has not completed in the specified time

pub const EVENT_SET: Self[src]

An event is signaled

pub const EVENT_RESET: Self[src]

An event is unsignaled

pub const INCOMPLETE: Self[src]

A return array was too small for the result

pub const ERROR_OUT_OF_HOST_MEMORY: Self[src]

A host memory allocation has failed

pub const ERROR_OUT_OF_DEVICE_MEMORY: Self[src]

A device memory allocation has failed

pub const ERROR_INITIALIZATION_FAILED: Self[src]

Initialization of a object has failed

pub const ERROR_DEVICE_LOST: Self[src]

The logical device has been lost. See <>

pub const ERROR_MEMORY_MAP_FAILED: Self[src]

Mapping of a memory object has failed

pub const ERROR_LAYER_NOT_PRESENT: Self[src]

Layer specified does not exist

pub const ERROR_EXTENSION_NOT_PRESENT: Self[src]

Extension specified does not exist

pub const ERROR_FEATURE_NOT_PRESENT: Self[src]

Requested feature is not available on this device

pub const ERROR_INCOMPATIBLE_DRIVER: Self[src]

Unable to find a Vulkan driver

pub const ERROR_TOO_MANY_OBJECTS: Self[src]

Too many objects of the type have already been created

pub const ERROR_FORMAT_NOT_SUPPORTED: Self[src]

Requested format is not supported on this device

pub const ERROR_FRAGMENTED_POOL: Self[src]

A requested pool allocation has failed due to fragmentation of the pool's memory

pub const ERROR_UNKNOWN: Self[src]

An unknown error has occurred, due to an implementation or application bug

impl Result[src]

Generated from 'VK_KHR_surface'

pub const ERROR_SURFACE_LOST_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_surface'

pub const ERROR_NATIVE_WINDOW_IN_USE_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_swapchain'

pub const SUBOPTIMAL_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_swapchain'

pub const ERROR_OUT_OF_DATE_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_display_swapchain'

pub const ERROR_INCOMPATIBLE_DISPLAY_KHR: Self[src]

impl Result[src]

Generated from 'VK_EXT_debug_report'

pub const ERROR_VALIDATION_FAILED_EXT: Self[src]

impl Result[src]

Generated from 'VK_NV_glsl_shader'

pub const ERROR_INVALID_SHADER_NV: Self[src]

impl Result[src]

Generated from 'VK_KHR_maintenance1'

pub const ERROR_OUT_OF_POOL_MEMORY_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_external_memory'

pub const ERROR_INVALID_EXTERNAL_HANDLE_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_ray_tracing'

pub const ERROR_INCOMPATIBLE_VERSION_KHR: Self[src]

impl Result[src]

Generated from 'VK_EXT_image_drm_format_modifier'

pub const ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self[src]

impl Result[src]

Generated from 'VK_EXT_descriptor_indexing'

pub const ERROR_FRAGMENTATION_EXT: Self[src]

impl Result[src]

Generated from 'VK_EXT_global_priority'

pub const ERROR_NOT_PERMITTED_EXT: Self[src]

impl Result[src]

Generated from 'VK_EXT_buffer_device_address'

pub const ERROR_INVALID_DEVICE_ADDRESS_EXT: Self[src]

impl Result[src]

Generated from 'VK_EXT_full_screen_exclusive'

pub const ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self[src]

impl Result[src]

Generated from 'VK_KHR_buffer_device_address'

pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_deferred_host_operations'

pub const THREAD_IDLE_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_deferred_host_operations'

pub const THREAD_DONE_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_deferred_host_operations'

pub const OPERATION_DEFERRED_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_deferred_host_operations'

pub const OPERATION_NOT_DEFERRED_KHR: Self[src]

impl Result[src]

Generated from 'VK_EXT_pipeline_creation_cache_control'

pub const ERROR_PIPELINE_COMPILE_REQUIRED_EXT: Self[src]

impl Result[src]

Generated from 'VK_VERSION_1_1'

pub const ERROR_OUT_OF_POOL_MEMORY: Self[src]

impl Result[src]

Generated from 'VK_VERSION_1_1'

pub const ERROR_INVALID_EXTERNAL_HANDLE: Self[src]

impl Result[src]

Generated from 'VK_VERSION_1_2'

pub const ERROR_FRAGMENTATION: Self[src]

impl Result[src]

Generated from 'VK_VERSION_1_2'

pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: Self[src]

Trait Implementations

impl Clone for Result[src]

impl Copy for Result[src]

impl Debug for Result[src]

impl Default for Result[src]

impl Display for Result[src]

impl Eq for Result[src]

impl Error for Result[src]

impl Hash for Result[src]

impl Ord for Result[src]

impl PartialEq<Result> for Result[src]

impl PartialOrd<Result> for Result[src]

impl StructuralEq for Result[src]

impl StructuralPartialEq for Result[src]

Auto Trait Implementations

impl RefUnwindSafe for Result

impl Send for Result

impl Sync for Result

impl Unpin for Result

impl UnwindSafe for Result

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.