#[repr(C)]
pub struct PhysicalDeviceVulkan12Features {
Show 49 fields pub s_type: StructureType, pub p_next: *mut c_void, pub sampler_mirror_clamp_to_edge: u32, pub draw_indirect_count: u32, pub storage_buffer8_bit_access: u32, pub uniform_and_storage_buffer8_bit_access: u32, pub storage_push_constant8: u32, pub shader_buffer_int64_atomics: u32, pub shader_shared_int64_atomics: u32, pub shader_float16: u32, pub shader_int8: u32, pub descriptor_indexing: u32, pub shader_input_attachment_array_dynamic_indexing: u32, pub shader_uniform_texel_buffer_array_dynamic_indexing: u32, pub shader_storage_texel_buffer_array_dynamic_indexing: u32, pub shader_uniform_buffer_array_non_uniform_indexing: u32, pub shader_sampled_image_array_non_uniform_indexing: u32, pub shader_storage_buffer_array_non_uniform_indexing: u32, pub shader_storage_image_array_non_uniform_indexing: u32, pub shader_input_attachment_array_non_uniform_indexing: u32, pub shader_uniform_texel_buffer_array_non_uniform_indexing: u32, pub shader_storage_texel_buffer_array_non_uniform_indexing: u32, pub descriptor_binding_uniform_buffer_update_after_bind: u32, pub descriptor_binding_sampled_image_update_after_bind: u32, pub descriptor_binding_storage_image_update_after_bind: u32, pub descriptor_binding_storage_buffer_update_after_bind: u32, pub descriptor_binding_uniform_texel_buffer_update_after_bind: u32, pub descriptor_binding_storage_texel_buffer_update_after_bind: u32, pub descriptor_binding_update_unused_while_pending: u32, pub descriptor_binding_partially_bound: u32, pub descriptor_binding_variable_descriptor_count: u32, pub runtime_descriptor_array: u32, pub sampler_filter_minmax: u32, pub scalar_block_layout: u32, pub imageless_framebuffer: u32, pub uniform_buffer_standard_layout: u32, pub shader_subgroup_extended_types: u32, pub separate_depth_stencil_layouts: u32, pub host_query_reset: u32, pub timeline_semaphore: u32, pub buffer_device_address: u32, pub buffer_device_address_capture_replay: u32, pub buffer_device_address_multi_device: u32, pub vulkan_memory_model: u32, pub vulkan_memory_model_device_scope: u32, pub vulkan_memory_model_availability_visibility_chains: u32, pub shader_output_viewport_index: u32, pub shader_output_layer: u32, pub subgroup_broadcast_dynamic_id: u32,
}
Expand description

Fields§

§s_type: StructureType§p_next: *mut c_void§sampler_mirror_clamp_to_edge: u32§draw_indirect_count: u32§storage_buffer8_bit_access: u32§uniform_and_storage_buffer8_bit_access: u32§storage_push_constant8: u32§shader_buffer_int64_atomics: u32§shader_shared_int64_atomics: u32§shader_float16: u32§shader_int8: u32§descriptor_indexing: u32§shader_input_attachment_array_dynamic_indexing: u32§shader_uniform_texel_buffer_array_dynamic_indexing: u32§shader_storage_texel_buffer_array_dynamic_indexing: u32§shader_uniform_buffer_array_non_uniform_indexing: u32§shader_sampled_image_array_non_uniform_indexing: u32§shader_storage_buffer_array_non_uniform_indexing: u32§shader_storage_image_array_non_uniform_indexing: u32§shader_input_attachment_array_non_uniform_indexing: u32§shader_uniform_texel_buffer_array_non_uniform_indexing: u32§shader_storage_texel_buffer_array_non_uniform_indexing: u32§descriptor_binding_uniform_buffer_update_after_bind: u32§descriptor_binding_sampled_image_update_after_bind: u32§descriptor_binding_storage_image_update_after_bind: u32§descriptor_binding_storage_buffer_update_after_bind: u32§descriptor_binding_uniform_texel_buffer_update_after_bind: u32§descriptor_binding_storage_texel_buffer_update_after_bind: u32§descriptor_binding_update_unused_while_pending: u32§descriptor_binding_partially_bound: u32§descriptor_binding_variable_descriptor_count: u32§runtime_descriptor_array: u32§sampler_filter_minmax: u32§scalar_block_layout: u32§imageless_framebuffer: u32§uniform_buffer_standard_layout: u32§shader_subgroup_extended_types: u32§separate_depth_stencil_layouts: u32§host_query_reset: u32§timeline_semaphore: u32§buffer_device_address: u32§buffer_device_address_capture_replay: u32§buffer_device_address_multi_device: u32§vulkan_memory_model: u32§vulkan_memory_model_device_scope: u32§vulkan_memory_model_availability_visibility_chains: u32§shader_output_viewport_index: u32§shader_output_layer: u32§subgroup_broadcast_dynamic_id: u32

Implementations§

Trait Implementations§

source§

impl Clone for PhysicalDeviceVulkan12Features

source§

fn clone(&self) -> PhysicalDeviceVulkan12Features

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 PhysicalDeviceVulkan12Features

source§

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

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

impl Default for PhysicalDeviceVulkan12Features

source§

fn default() -> PhysicalDeviceVulkan12Features

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

impl From<PhysicalDeviceVulkan12Features> for Vulkan12Features

source§

fn from(features: PhysicalDeviceVulkan12Features) -> Self

Converts to this type from the input type.
source§

impl TaggedStructure for PhysicalDeviceVulkan12Features

source§

const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_VULKAN_1_2_FEATURES

source§

impl Copy for PhysicalDeviceVulkan12Features

source§

impl ExtendsDeviceCreateInfo for PhysicalDeviceVulkan12Features

source§

impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceVulkan12Features

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
§

impl<T> Downcast for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.
§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait.
§

fn as_any(&self) -> &(dyn Any + 'static)

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s.
§

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more