[−][src]Struct ash::vk::Result
Methods
impl Result
[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(&self) -> 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]
fn partial_cmp(&self, other: &Result) -> Option<Ordering>
[src]
fn lt(&self, other: &Result) -> bool
[src]
fn le(&self, other: &Result) -> bool
[src]
fn gt(&self, other: &Result) -> bool
[src]
fn ge(&self, other: &Result) -> bool
[src]
impl PartialEq<Result> for Result
[src]
impl Ord for Result
[src]
fn cmp(&self, other: &Result) -> Ordering
[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]
clamp
)Restrict a value to a certain interval. Read more
impl Hash for Result
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
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 description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
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]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,