#[repr(transparent)]pub struct Result(pub i32);
Expand description
Vulkan Manual Page · Enum
Tuple Fields
0: i32
Implementations
sourceimpl Result
impl Result
Provided by crate::extensions::ext_buffer_device_address
pub const ERROR_INVALID_DEVICE_ADDRESS_EXT: Self = Self::ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS
sourceimpl Result
impl Result
Provided by crate::extensions::ext_debug_report
pub const ERROR_VALIDATION_FAILED_EXT: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::ext_descriptor_indexing
pub const ERROR_FRAGMENTATION_EXT: Self = Self::ERROR_FRAGMENTATION
sourceimpl Result
impl Result
Provided by crate::extensions::ext_full_screen_exclusive
pub const ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::ext_global_priority
pub const ERROR_NOT_PERMITTED_EXT: Self = Self::ERROR_NOT_PERMITTED_KHR
sourceimpl Result
impl Result
Provided by crate::extensions::ext_image_compression_control
pub const ERROR_COMPRESSION_EXHAUSTED_EXT: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::ext_image_drm_format_modifier
pub const ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self = _
sourceimpl Result
impl Result
pub const PIPELINE_COMPILE_REQUIRED_EXT: Self = Self::PIPELINE_COMPILE_REQUIRED
pub const ERROR_PIPELINE_COMPILE_REQUIRED_EXT: Self = Self::PIPELINE_COMPILE_REQUIRED
sourceimpl Result
impl Result
Provided by crate::extensions::khr_buffer_device_address
pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR: Self = Self::ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS
sourceimpl Result
impl Result
Provided by crate::extensions::khr_deferred_host_operations
pub const THREAD_IDLE_KHR: Self = _
pub const THREAD_DONE_KHR: Self = _
pub const OPERATION_DEFERRED_KHR: Self = _
pub const OPERATION_NOT_DEFERRED_KHR: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::khr_display_swapchain
pub const ERROR_INCOMPATIBLE_DISPLAY_KHR: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::khr_external_memory
pub const ERROR_INVALID_EXTERNAL_HANDLE_KHR: Self = Self::ERROR_INVALID_EXTERNAL_HANDLE
sourceimpl Result
impl Result
Provided by crate::extensions::khr_global_priority
pub const ERROR_NOT_PERMITTED_KHR: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::khr_maintenance1
pub const ERROR_OUT_OF_POOL_MEMORY_KHR: Self = Self::ERROR_OUT_OF_POOL_MEMORY
sourceimpl Result
impl Result
Provided by crate::extensions::khr_surface
pub const ERROR_SURFACE_LOST_KHR: Self = _
pub const ERROR_NATIVE_WINDOW_IN_USE_KHR: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::khr_swapchain
pub const SUBOPTIMAL_KHR: Self = _
pub const ERROR_OUT_OF_DATE_KHR: Self = _
sourceimpl Result
impl Result
Provided by crate::extensions::nv_glsl_shader
pub const ERROR_INVALID_SHADER_NV: Self = _
sourceimpl Result
impl Result
Provided by crate::vk1_0
pub const SUCCESS: Self = _
pub const NOT_READY: Self = _
pub const TIMEOUT: Self = _
pub const EVENT_SET: Self = _
pub const EVENT_RESET: Self = _
pub const INCOMPLETE: Self = _
pub const ERROR_OUT_OF_HOST_MEMORY: Self = _
pub const ERROR_OUT_OF_DEVICE_MEMORY: Self = _
pub const ERROR_INITIALIZATION_FAILED: Self = _
pub const ERROR_DEVICE_LOST: Self = _
pub const ERROR_MEMORY_MAP_FAILED: Self = _
pub const ERROR_LAYER_NOT_PRESENT: Self = _
pub const ERROR_EXTENSION_NOT_PRESENT: Self = _
pub const ERROR_FEATURE_NOT_PRESENT: Self = _
pub const ERROR_INCOMPATIBLE_DRIVER: Self = _
pub const ERROR_TOO_MANY_OBJECTS: Self = _
pub const ERROR_FORMAT_NOT_SUPPORTED: Self = _
pub const ERROR_FRAGMENTED_POOL: Self = _
pub const ERROR_UNKNOWN: Self = _
sourceimpl Result
impl Result
Provided by crate::vk1_1
pub const ERROR_OUT_OF_POOL_MEMORY: Self = _
pub const ERROR_INVALID_EXTERNAL_HANDLE: Self = _
sourceimpl Result
impl Result
Provided by crate::vk1_2
pub const ERROR_FRAGMENTATION: Self = _
pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: Self = _
Trait Implementations
sourceimpl Error for Result
impl Error for Result
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
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