[][src]Struct 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 <<devsandqueues-lost-device>>

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 Copy for Result[src]

impl PartialEq<Result> for Result[src]

impl Ord for Result[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.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 Eq for Result[src]

impl PartialOrd<Result> 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 Default for Result[src]

impl Debug for Result[src]

impl Display for Result[src]

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

fn type_id(&self) -> TypeId where
    Self: 'static, 
1.34.0
[src]

Gets the TypeId of self

Auto Trait Implementations

impl Send for Result

impl Sync 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 for T[src]

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

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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> Any for T where
    T: 'static + ?Sized
[src]