pub struct ObjectType(_);
Expand description

Implementations§

source§

impl ObjectType

source

pub const fn from_raw(x: i32) -> ObjectType

source

pub const fn as_raw(self) -> i32

source§

impl ObjectType

source

pub const UNKNOWN: ObjectType = Self(0)

source

pub const INSTANCE: ObjectType = Self(1)

source

pub const PHYSICAL_DEVICE: ObjectType = Self(2)

source

pub const DEVICE: ObjectType = Self(3)

source

pub const QUEUE: ObjectType = Self(4)

source

pub const SEMAPHORE: ObjectType = Self(5)

source

pub const COMMAND_BUFFER: ObjectType = Self(6)

source

pub const FENCE: ObjectType = Self(7)

source

pub const DEVICE_MEMORY: ObjectType = Self(8)

source

pub const BUFFER: ObjectType = Self(9)

source

pub const IMAGE: ObjectType = Self(10)

source

pub const EVENT: ObjectType = Self(11)

source

pub const QUERY_POOL: ObjectType = Self(12)

source

pub const BUFFER_VIEW: ObjectType = Self(13)

source

pub const IMAGE_VIEW: ObjectType = Self(14)

source

pub const SHADER_MODULE: ObjectType = Self(15)

source

pub const PIPELINE_CACHE: ObjectType = Self(16)

source

pub const PIPELINE_LAYOUT: ObjectType = Self(17)

source

pub const RENDER_PASS: ObjectType = Self(18)

source

pub const PIPELINE: ObjectType = Self(19)

source

pub const DESCRIPTOR_SET_LAYOUT: ObjectType = Self(20)

source

pub const SAMPLER: ObjectType = Self(21)

source

pub const DESCRIPTOR_POOL: ObjectType = Self(22)

source

pub const DESCRIPTOR_SET: ObjectType = Self(23)

source

pub const FRAMEBUFFER: ObjectType = Self(24)

source

pub const COMMAND_POOL: ObjectType = Self(25)

source§

impl ObjectType

Generated from ‘VK_KHR_surface’

source

pub const SURFACE_KHR: ObjectType = Self(1000000000)

source§

impl ObjectType

Generated from ‘VK_KHR_swapchain’

source

pub const SWAPCHAIN_KHR: ObjectType = Self(1000001000)

source§

impl ObjectType

Generated from ‘VK_KHR_display’

source

pub const DISPLAY_KHR: ObjectType = Self(1000002000)

source

pub const DISPLAY_MODE_KHR: ObjectType = Self(1000002001)

source§

impl ObjectType

Generated from ‘VK_EXT_debug_report’

source

pub const DEBUG_REPORT_CALLBACK_EXT: ObjectType = Self(1000011000)

source§

impl ObjectType

Generated from ‘VK_KHR_video_queue’

source

pub const VIDEO_SESSION_KHR: ObjectType = Self(1000023000)

VkVideoSessionKHR

source

pub const VIDEO_SESSION_PARAMETERS_KHR: ObjectType = Self(1000023001)

VkVideoSessionParametersKHR

source§

impl ObjectType

Generated from ‘VK_NVX_binary_import’

source

pub const CU_MODULE_NVX: ObjectType = Self(1000029000)

source

pub const CU_FUNCTION_NVX: ObjectType = Self(1000029001)

source§

impl ObjectType

Generated from ‘VK_KHR_descriptor_update_template’

source

pub const DESCRIPTOR_UPDATE_TEMPLATE_KHR: ObjectType = Self::DESCRIPTOR_UPDATE_TEMPLATE

source§

impl ObjectType

Generated from ‘VK_EXT_debug_utils’

source

pub const DEBUG_UTILS_MESSENGER_EXT: ObjectType = Self(1000128000)

source§

impl ObjectType

Generated from ‘VK_KHR_acceleration_structure’

source

pub const ACCELERATION_STRUCTURE_KHR: ObjectType = Self(1000150000)

source§

impl ObjectType

Generated from ‘VK_KHR_sampler_ycbcr_conversion’

source

pub const SAMPLER_YCBCR_CONVERSION_KHR: ObjectType = Self::SAMPLER_YCBCR_CONVERSION

source§

impl ObjectType

Generated from ‘VK_EXT_validation_cache’

source

pub const VALIDATION_CACHE_EXT: ObjectType = Self(1000160000)

source§

impl ObjectType

Generated from ‘VK_NV_ray_tracing’

source

pub const ACCELERATION_STRUCTURE_NV: ObjectType = Self(1000165000)

source§

impl ObjectType

Generated from ‘VK_INTEL_performance_query’

source§

impl ObjectType

Generated from ‘VK_KHR_deferred_host_operations’

source

pub const DEFERRED_OPERATION_KHR: ObjectType = Self(1000268000)

source§

impl ObjectType

Generated from ‘VK_NV_device_generated_commands’

source

pub const INDIRECT_COMMANDS_LAYOUT_NV: ObjectType = Self(1000277000)

source§

impl ObjectType

Generated from ‘VK_EXT_private_data’

source

pub const PRIVATE_DATA_SLOT_EXT: ObjectType = Self::PRIVATE_DATA_SLOT

source§

impl ObjectType

Generated from ‘VK_FUCHSIA_buffer_collection’

source

pub const BUFFER_COLLECTION_FUCHSIA: ObjectType = Self(1000366000)

VkBufferCollectionFUCHSIA

source§

impl ObjectType

Generated from ‘VK_EXT_opacity_micromap’

source

pub const MICROMAP_EXT: ObjectType = Self(1000396000)

source§

impl ObjectType

Generated from ‘VK_NV_optical_flow’

source

pub const OPTICAL_FLOW_SESSION_NV: ObjectType = Self(1000464000)

source§

impl ObjectType

Generated from ‘VK_VERSION_1_1’

source

pub const SAMPLER_YCBCR_CONVERSION: ObjectType = Self(1000156000)

source

pub const DESCRIPTOR_UPDATE_TEMPLATE: ObjectType = Self(1000085000)

source§

impl ObjectType

Generated from ‘VK_VERSION_1_3’

source

pub const PRIVATE_DATA_SLOT: ObjectType = Self(1000295000)

Trait Implementations§

source§

impl Clone for ObjectType

source§

fn clone(&self) -> ObjectType

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ObjectType

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Default for ObjectType

source§

fn default() -> ObjectType

Returns the “default value” for a type. Read more
source§

impl Hash for ObjectType

source§

fn hash<__H>(&self, state: &mut __H)where __H: Hasher,

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl Ord for ObjectType

source§

fn cmp(&self, other: &ObjectType) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl PartialEq<ObjectType> for ObjectType

source§

fn eq(&self, other: &ObjectType) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialOrd<ObjectType> for ObjectType

source§

fn partial_cmp(&self, other: &ObjectType) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl Copy for ObjectType

source§

impl Eq for ObjectType

source§

impl StructuralEq for ObjectType

source§

impl StructuralPartialEq for ObjectType

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.