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

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

https://www.khronos.org/registry/vulkan/specs/1.1-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

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_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_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]

Trait Implementations

impl Copy for Result[src]

impl Default for Result[src]

impl Eq for Result[src]

impl Clone for Result[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<Result> for Result[src]

impl PartialEq<Result> for Result[src]

impl Ord for Result[src]

fn max(self, other: Self) -> Self1.21.0[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self1.21.0[src]

Compares and returns the minimum of two values. Read more

fn clamp(self, min: Self, max: Self) -> Self[src]

🔬 This is a nightly-only experimental API. (clamp)

Restrict a value to a certain interval. Read more

impl Hash for Result[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Display for Result[src]

impl Debug for Result[src]

impl Error for Result[src]

fn cause(&self) -> Option<&dyn Error>1.0.0[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Unpin for Result

impl Sync for Result

impl Send for Result

impl UnwindSafe for Result

impl RefUnwindSafe for Result

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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