#[repr(transparent)]pub struct Result(_);
Implementations
sourceimpl Result
impl Result
sourcepub const EVENT_RESET: Self = _
pub const EVENT_RESET: Self = _
An event is unsignaled
sourcepub const INCOMPLETE: Self = _
pub const INCOMPLETE: Self = _
A return array was too small for the result
sourcepub const ERROR_OUT_OF_HOST_MEMORY: Self = _
pub const ERROR_OUT_OF_HOST_MEMORY: Self = _
A host memory allocation has failed
sourcepub const ERROR_OUT_OF_DEVICE_MEMORY: Self = _
pub const ERROR_OUT_OF_DEVICE_MEMORY: Self = _
A device memory allocation has failed
sourcepub const ERROR_INITIALIZATION_FAILED: Self = _
pub const ERROR_INITIALIZATION_FAILED: Self = _
Initialization of a object has failed
sourcepub const ERROR_DEVICE_LOST: Self = _
pub const ERROR_DEVICE_LOST: Self = _
The logical device has been lost. See <
sourcepub const ERROR_MEMORY_MAP_FAILED: Self = _
pub const ERROR_MEMORY_MAP_FAILED: Self = _
Mapping of a memory object has failed
sourcepub const ERROR_LAYER_NOT_PRESENT: Self = _
pub const ERROR_LAYER_NOT_PRESENT: Self = _
Layer specified does not exist
sourcepub const ERROR_EXTENSION_NOT_PRESENT: Self = _
pub const ERROR_EXTENSION_NOT_PRESENT: Self = _
Extension specified does not exist
sourcepub const ERROR_FEATURE_NOT_PRESENT: Self = _
pub const ERROR_FEATURE_NOT_PRESENT: Self = _
Requested feature is not available on this device
sourcepub const ERROR_INCOMPATIBLE_DRIVER: Self = _
pub const ERROR_INCOMPATIBLE_DRIVER: Self = _
Unable to find a Vulkan driver
sourcepub const ERROR_TOO_MANY_OBJECTS: Self = _
pub const ERROR_TOO_MANY_OBJECTS: Self = _
Too many objects of the type have already been created
sourcepub const ERROR_FORMAT_NOT_SUPPORTED: Self = _
pub const ERROR_FORMAT_NOT_SUPPORTED: Self = _
Requested format is not supported on this device
sourcepub const ERROR_FRAGMENTED_POOL: Self = _
pub const ERROR_FRAGMENTED_POOL: Self = _
A requested pool allocation has failed due to fragmentation of the pool’s memory
sourceimpl Result
impl Result
Generated from ‘VK_KHR_surface’
pub const ERROR_NATIVE_WINDOW_IN_USE_KHR: Self = _
sourceimpl Result
impl Result
Generated from ‘VK_KHR_display_swapchain’
pub const ERROR_INCOMPATIBLE_DISPLAY_KHR: Self = _
sourceimpl Result
impl Result
Generated from ‘VK_EXT_debug_report’
pub const ERROR_VALIDATION_FAILED_EXT: Self = _
sourceimpl Result
impl Result
Generated from ‘VK_NV_glsl_shader’
pub const ERROR_INVALID_SHADER_NV: Self = _
sourceimpl Result
impl Result
Generated from ‘VK_EXT_descriptor_indexing’
pub const ERROR_FRAGMENTATION_EXT: Self = _
sourceimpl Result
impl Result
Generated from ‘VK_EXT_global_priority’
pub const ERROR_NOT_PERMITTED_EXT: Self = _
sourceimpl Result
impl Result
Generated from ‘VK_VERSION_1_1’
pub const ERROR_INVALID_EXTERNAL_HANDLE: Self = _
Trait Implementations
sourceimpl Error for Result
impl Error for Result
sourcefn description(&self) -> &str
fn description(&self) -> &str
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
sourceimpl Ord for Result
impl Ord for Result
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
sourceimpl PartialOrd<Result> for Result
impl PartialOrd<Result> for Result
sourcefn partial_cmp(&self, other: &Result) -> Option<Ordering>
fn partial_cmp(&self, other: &Result) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more