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

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

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'

impl Result[src]

Generated from 'VK_KHR_surface'

impl Result[src]

Generated from 'VK_KHR_swapchain'

pub const SUBOPTIMAL_KHR: Self[src]

impl Result[src]

Generated from 'VK_KHR_swapchain'

impl Result[src]

Generated from 'VK_KHR_display_swapchain'

impl Result[src]

Generated from 'VK_EXT_debug_report'

impl Result[src]

Generated from 'VK_NV_glsl_shader'

impl Result[src]

Generated from 'VK_EXT_image_drm_format_modifier'

impl Result[src]

Generated from 'VK_EXT_descriptor_indexing'

impl Result[src]

Generated from 'VK_EXT_global_priority'

impl Result[src]

Generated from 'VK_EXT_buffer_device_address'

impl Result[src]

Generated from 'VK_VERSION_1_1'

impl Result[src]

Generated from 'VK_VERSION_1_1'

Trait Implementations

impl Eq for Result[src]

impl Default for Result[src]

impl Clone for Result[src]

impl PartialOrd<Result> for Result[src]

impl PartialEq<Result> for Result[src]

impl Ord for Result[src]

impl Copy for Result[src]

impl Hash for Result[src]

impl Debug for Result[src]

impl Display for Result[src]

impl Error for Result[src]

Auto Trait Implementations

impl Send for Result

impl Unpin for Result

impl Sync 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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<E> Fail for E where
    E: 'static + Error + Send + Sync

impl<T> AsFail for T where
    T: Fail,