#[repr(C)]pub enum VkObjectType {
Show 59 variants
VK_OBJECT_TYPE_UNKNOWN = 0,
VK_OBJECT_TYPE_INSTANCE = 1,
VK_OBJECT_TYPE_PHYSICAL_DEVICE = 2,
VK_OBJECT_TYPE_DEVICE = 3,
VK_OBJECT_TYPE_QUEUE = 4,
VK_OBJECT_TYPE_SEMAPHORE = 5,
VK_OBJECT_TYPE_COMMAND_BUFFER = 6,
VK_OBJECT_TYPE_FENCE = 7,
VK_OBJECT_TYPE_DEVICE_MEMORY = 8,
VK_OBJECT_TYPE_BUFFER = 9,
VK_OBJECT_TYPE_IMAGE = 10,
VK_OBJECT_TYPE_EVENT = 11,
VK_OBJECT_TYPE_QUERY_POOL = 12,
VK_OBJECT_TYPE_BUFFER_VIEW = 13,
VK_OBJECT_TYPE_IMAGE_VIEW = 14,
VK_OBJECT_TYPE_SHADER_MODULE = 15,
VK_OBJECT_TYPE_PIPELINE_CACHE = 16,
VK_OBJECT_TYPE_PIPELINE_LAYOUT = 17,
VK_OBJECT_TYPE_RENDER_PASS = 18,
VK_OBJECT_TYPE_PIPELINE = 19,
VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT = 20,
VK_OBJECT_TYPE_SAMPLER = 21,
VK_OBJECT_TYPE_DESCRIPTOR_POOL = 22,
VK_OBJECT_TYPE_DESCRIPTOR_SET = 23,
VK_OBJECT_TYPE_FRAMEBUFFER = 24,
VK_OBJECT_TYPE_COMMAND_POOL = 25,
VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION = 1_000_156_000,
VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE = 1_000_085_000,
VK_OBJECT_TYPE_PRIVATE_DATA_SLOT = 1_000_295_000,
VK_OBJECT_TYPE_SURFACE_KHR = 1_000_000_000,
VK_OBJECT_TYPE_SWAPCHAIN_KHR = 1_000_001_000,
VK_OBJECT_TYPE_DISPLAY_KHR = 1_000_002_000,
VK_OBJECT_TYPE_DISPLAY_MODE_KHR = 1_000_002_001,
VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT = 1_000_011_000,
VK_OBJECT_TYPE_VIDEO_SESSION_KHR = 1_000_023_000,
VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR = 1_000_023_001,
VK_OBJECT_TYPE_CU_MODULE_NVX = 1_000_029_000,
VK_OBJECT_TYPE_CU_FUNCTION_NVX = 1_000_029_001,
VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT = 1_000_128_000,
VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR = 1_000_150_000,
VK_OBJECT_TYPE_VALIDATION_CACHE_EXT = 1_000_160_000,
VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV = 1_000_165_000,
VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL = 1_000_210_000,
VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR = 1_000_268_000,
VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV = 1_000_277_000,
VK_OBJECT_TYPE_CUDA_MODULE_NV = 1_000_307_000,
VK_OBJECT_TYPE_CUDA_FUNCTION_NV = 1_000_307_001,
VK_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA = 1_000_366_000,
VK_OBJECT_TYPE_MICROMAP_EXT = 1_000_396_000,
VK_OBJECT_TYPE_TENSOR_ARM = 1_000_460_000,
VK_OBJECT_TYPE_TENSOR_VIEW_ARM = 1_000_460_001,
VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV = 1_000_464_000,
VK_OBJECT_TYPE_SHADER_EXT = 1_000_482_000,
VK_OBJECT_TYPE_PIPELINE_BINARY_KHR = 1_000_483_000,
VK_OBJECT_TYPE_DATA_GRAPH_PIPELINE_SESSION_ARM = 1_000_507_000,
VK_OBJECT_TYPE_EXTERNAL_COMPUTE_QUEUE_NV = 1_000_556_000,
VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_EXT = 1_000_572_000,
VK_OBJECT_TYPE_INDIRECT_EXECUTION_SET_EXT = 1_000_572_001,
VK_OBJECT_TYPE_MAX_ENUM = 2_147_483_647,
}Expand description
enum VkObjectType from VK_VERSION_1_0
Variants§
VK_OBJECT_TYPE_UNKNOWN = 0
VK_OBJECT_TYPE_INSTANCE = 1
VK_OBJECT_TYPE_PHYSICAL_DEVICE = 2
VK_OBJECT_TYPE_DEVICE = 3
VK_OBJECT_TYPE_QUEUE = 4
VK_OBJECT_TYPE_SEMAPHORE = 5
VK_OBJECT_TYPE_COMMAND_BUFFER = 6
VK_OBJECT_TYPE_FENCE = 7
VK_OBJECT_TYPE_DEVICE_MEMORY = 8
VK_OBJECT_TYPE_BUFFER = 9
VK_OBJECT_TYPE_IMAGE = 10
VK_OBJECT_TYPE_EVENT = 11
VK_OBJECT_TYPE_QUERY_POOL = 12
VK_OBJECT_TYPE_BUFFER_VIEW = 13
VK_OBJECT_TYPE_IMAGE_VIEW = 14
VK_OBJECT_TYPE_SHADER_MODULE = 15
VK_OBJECT_TYPE_PIPELINE_CACHE = 16
VK_OBJECT_TYPE_PIPELINE_LAYOUT = 17
VK_OBJECT_TYPE_RENDER_PASS = 18
VK_OBJECT_TYPE_PIPELINE = 19
VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT = 20
VK_OBJECT_TYPE_SAMPLER = 21
VK_OBJECT_TYPE_DESCRIPTOR_POOL = 22
VK_OBJECT_TYPE_DESCRIPTOR_SET = 23
VK_OBJECT_TYPE_FRAMEBUFFER = 24
VK_OBJECT_TYPE_COMMAND_POOL = 25
VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION = 1_000_156_000
VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE = 1_000_085_000
VK_OBJECT_TYPE_PRIVATE_DATA_SLOT = 1_000_295_000
VK_OBJECT_TYPE_SURFACE_KHR = 1_000_000_000
VK_OBJECT_TYPE_SWAPCHAIN_KHR = 1_000_001_000
VK_OBJECT_TYPE_DISPLAY_KHR = 1_000_002_000
VK_OBJECT_TYPE_DISPLAY_MODE_KHR = 1_000_002_001
VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT = 1_000_011_000
VK_OBJECT_TYPE_VIDEO_SESSION_KHR = 1_000_023_000
VK_OBJECT_TYPE_VIDEO_SESSION_PARAMETERS_KHR = 1_000_023_001
VK_OBJECT_TYPE_CU_MODULE_NVX = 1_000_029_000
VK_OBJECT_TYPE_CU_FUNCTION_NVX = 1_000_029_001
VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT = 1_000_128_000
VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_KHR = 1_000_150_000
VK_OBJECT_TYPE_VALIDATION_CACHE_EXT = 1_000_160_000
VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV = 1_000_165_000
VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL = 1_000_210_000
VK_OBJECT_TYPE_DEFERRED_OPERATION_KHR = 1_000_268_000
VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NV = 1_000_277_000
VK_OBJECT_TYPE_CUDA_MODULE_NV = 1_000_307_000
VK_OBJECT_TYPE_CUDA_FUNCTION_NV = 1_000_307_001
VK_OBJECT_TYPE_BUFFER_COLLECTION_FUCHSIA = 1_000_366_000
VK_OBJECT_TYPE_MICROMAP_EXT = 1_000_396_000
VK_OBJECT_TYPE_TENSOR_ARM = 1_000_460_000
VK_OBJECT_TYPE_TENSOR_VIEW_ARM = 1_000_460_001
VK_OBJECT_TYPE_OPTICAL_FLOW_SESSION_NV = 1_000_464_000
VK_OBJECT_TYPE_SHADER_EXT = 1_000_482_000
VK_OBJECT_TYPE_PIPELINE_BINARY_KHR = 1_000_483_000
VK_OBJECT_TYPE_DATA_GRAPH_PIPELINE_SESSION_ARM = 1_000_507_000
VK_OBJECT_TYPE_EXTERNAL_COMPUTE_QUEUE_NV = 1_000_556_000
VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_EXT = 1_000_572_000
VK_OBJECT_TYPE_INDIRECT_EXECUTION_SET_EXT = 1_000_572_001
VK_OBJECT_TYPE_MAX_ENUM = 2_147_483_647
Implementations§
Source§impl VkObjectType
impl VkObjectType
pub const VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR: VkObjectType = VkObjectType::VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE
pub const VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR: VkObjectType = VkObjectType::VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION
pub const VK_OBJECT_TYPE_PRIVATE_DATA_SLOT_EXT: VkObjectType = VkObjectType::VK_OBJECT_TYPE_PRIVATE_DATA_SLOT
Trait Implementations§
Source§impl Clone for VkObjectType
impl Clone for VkObjectType
Source§fn clone(&self) -> VkObjectType
fn clone(&self) -> VkObjectType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkObjectType
impl Debug for VkObjectType
Source§impl Hash for VkObjectType
impl Hash for VkObjectType
Source§impl Ord for VkObjectType
impl Ord for VkObjectType
Source§fn cmp(&self, other: &VkObjectType) -> Ordering
fn cmp(&self, other: &VkObjectType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VkObjectType
impl PartialEq for VkObjectType
Source§impl PartialOrd for VkObjectType
impl PartialOrd for VkObjectType
impl Copy for VkObjectType
impl Eq for VkObjectType
impl StructuralPartialEq for VkObjectType
Auto Trait Implementations§
impl Freeze for VkObjectType
impl RefUnwindSafe for VkObjectType
impl Send for VkObjectType
impl Sync for VkObjectType
impl Unpin for VkObjectType
impl UnwindSafe for VkObjectType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref() only in debug builds, and is erased in release
builds.