Struct ash::vk::definitions::PhysicalDeviceVulkan11Properties

source ·
#[repr(C)]
pub struct PhysicalDeviceVulkan11Properties<'a> {
Show 18 fields pub s_type: StructureType, pub p_next: *mut c_void, pub device_uuid: [u8; 16], pub driver_uuid: [u8; 16], pub device_luid: [u8; 8], pub device_node_mask: u32, pub device_luid_valid: Bool32, pub subgroup_size: u32, pub subgroup_supported_stages: ShaderStageFlags, pub subgroup_supported_operations: SubgroupFeatureFlags, pub subgroup_quad_operations_in_all_stages: Bool32, pub point_clipping_behavior: PointClippingBehavior, pub max_multiview_view_count: u32, pub max_multiview_instance_index: u32, pub protected_no_fault: Bool32, pub max_per_set_descriptors: u32, pub max_memory_allocation_size: DeviceSize, pub _marker: PhantomData<&'a ()>,
}
Expand description

Fields§

§s_type: StructureType§p_next: *mut c_void§device_uuid: [u8; 16]§driver_uuid: [u8; 16]§device_luid: [u8; 8]§device_node_mask: u32§device_luid_valid: Bool32§subgroup_size: u32§subgroup_supported_stages: ShaderStageFlags§subgroup_supported_operations: SubgroupFeatureFlags§subgroup_quad_operations_in_all_stages: Bool32§point_clipping_behavior: PointClippingBehavior§max_multiview_view_count: u32§max_multiview_instance_index: u32§protected_no_fault: Bool32§max_per_set_descriptors: u32§max_memory_allocation_size: DeviceSize§_marker: PhantomData<&'a ()>

Implementations§

source§

impl<'a> PhysicalDeviceVulkan11Properties<'a>

source

pub fn device_uuid(self, device_uuid: [u8; 16]) -> Self

source

pub fn driver_uuid(self, driver_uuid: [u8; 16]) -> Self

source

pub fn device_luid(self, device_luid: [u8; 8]) -> Self

source

pub fn device_node_mask(self, device_node_mask: u32) -> Self

source

pub fn device_luid_valid(self, device_luid_valid: bool) -> Self

source

pub fn subgroup_size(self, subgroup_size: u32) -> Self

source

pub fn subgroup_supported_stages( self, subgroup_supported_stages: ShaderStageFlags, ) -> Self

source

pub fn subgroup_supported_operations( self, subgroup_supported_operations: SubgroupFeatureFlags, ) -> Self

source

pub fn subgroup_quad_operations_in_all_stages( self, subgroup_quad_operations_in_all_stages: bool, ) -> Self

source

pub fn point_clipping_behavior( self, point_clipping_behavior: PointClippingBehavior, ) -> Self

source

pub fn max_multiview_view_count(self, max_multiview_view_count: u32) -> Self

source

pub fn max_multiview_instance_index( self, max_multiview_instance_index: u32, ) -> Self

source

pub fn protected_no_fault(self, protected_no_fault: bool) -> Self

source

pub fn max_per_set_descriptors(self, max_per_set_descriptors: u32) -> Self

source

pub fn max_memory_allocation_size( self, max_memory_allocation_size: DeviceSize, ) -> Self

Trait Implementations§

source§

impl<'a> Clone for PhysicalDeviceVulkan11Properties<'a>

source§

fn clone(&self) -> PhysicalDeviceVulkan11Properties<'a>

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<'a> Debug for PhysicalDeviceVulkan11Properties<'a>

source§

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

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

impl Default for PhysicalDeviceVulkan11Properties<'_>

source§

fn default() -> Self

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

impl<'a> TaggedStructure for PhysicalDeviceVulkan11Properties<'a>

source§

const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES

source§

impl<'a> Copy for PhysicalDeviceVulkan11Properties<'a>

source§

impl ExtendsPhysicalDeviceProperties2 for PhysicalDeviceVulkan11Properties<'_>

source§

impl Send for PhysicalDeviceVulkan11Properties<'_>

source§

impl Sync for PhysicalDeviceVulkan11Properties<'_>

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.