Struct ash::DeviceFnV1_1

source ·
pub struct DeviceFnV1_1 {
Show 16 fields pub bind_buffer_memory2: PFN_vkBindBufferMemory2, pub bind_image_memory2: PFN_vkBindImageMemory2, pub get_device_group_peer_memory_features: PFN_vkGetDeviceGroupPeerMemoryFeatures, pub cmd_set_device_mask: PFN_vkCmdSetDeviceMask, pub cmd_dispatch_base: PFN_vkCmdDispatchBase, pub get_image_memory_requirements2: PFN_vkGetImageMemoryRequirements2, pub get_buffer_memory_requirements2: PFN_vkGetBufferMemoryRequirements2, pub get_image_sparse_memory_requirements2: PFN_vkGetImageSparseMemoryRequirements2, pub trim_command_pool: PFN_vkTrimCommandPool, pub get_device_queue2: PFN_vkGetDeviceQueue2, pub create_sampler_ycbcr_conversion: PFN_vkCreateSamplerYcbcrConversion, pub destroy_sampler_ycbcr_conversion: PFN_vkDestroySamplerYcbcrConversion, pub create_descriptor_update_template: PFN_vkCreateDescriptorUpdateTemplate, pub destroy_descriptor_update_template: PFN_vkDestroyDescriptorUpdateTemplate, pub update_descriptor_set_with_template: PFN_vkUpdateDescriptorSetWithTemplate, pub get_descriptor_set_layout_support: PFN_vkGetDescriptorSetLayoutSupport,
}
Expand description

Raw Vulkan 1.1 device-level function pointers

Fields§

§bind_buffer_memory2: PFN_vkBindBufferMemory2§bind_image_memory2: PFN_vkBindImageMemory2§get_device_group_peer_memory_features: PFN_vkGetDeviceGroupPeerMemoryFeatures§cmd_set_device_mask: PFN_vkCmdSetDeviceMask§cmd_dispatch_base: PFN_vkCmdDispatchBase§get_image_memory_requirements2: PFN_vkGetImageMemoryRequirements2§get_buffer_memory_requirements2: PFN_vkGetBufferMemoryRequirements2§get_image_sparse_memory_requirements2: PFN_vkGetImageSparseMemoryRequirements2§trim_command_pool: PFN_vkTrimCommandPool§get_device_queue2: PFN_vkGetDeviceQueue2§create_sampler_ycbcr_conversion: PFN_vkCreateSamplerYcbcrConversion§destroy_sampler_ycbcr_conversion: PFN_vkDestroySamplerYcbcrConversion§create_descriptor_update_template: PFN_vkCreateDescriptorUpdateTemplate§destroy_descriptor_update_template: PFN_vkDestroyDescriptorUpdateTemplate§update_descriptor_set_with_template: PFN_vkUpdateDescriptorSetWithTemplate§get_descriptor_set_layout_support: PFN_vkGetDescriptorSetLayoutSupport

Implementations§

source§

impl DeviceFnV1_1

source

pub fn load<F: FnMut(&CStr) -> *const c_void>(f: F) -> Self

source

fn load_erased(_f: &mut dyn FnMut(&CStr) -> *const c_void) -> Self

Trait Implementations§

source§

impl Clone for DeviceFnV1_1

source§

fn clone(&self) -> DeviceFnV1_1

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 Send for DeviceFnV1_1

source§

impl Sync for DeviceFnV1_1

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

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 T
where 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 T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
source§

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

Performs the conversion.