Skip to main content

PhysicalDeviceVulkan14FeaturesBuilder

Struct PhysicalDeviceVulkan14FeaturesBuilder 

Source
pub struct PhysicalDeviceVulkan14FeaturesBuilder<'a> { /* private fields */ }
Expand description

Builder for PhysicalDeviceVulkan14Features with lifetime-tied pNext safety.

Implementations§

Source§

impl<'a> PhysicalDeviceVulkan14FeaturesBuilder<'a>

Source

pub fn global_priority_query(self, value: bool) -> Self

Source

pub fn shader_subgroup_rotate(self, value: bool) -> Self

Source

pub fn shader_subgroup_rotate_clustered(self, value: bool) -> Self

Source

pub fn shader_float_controls2(self, value: bool) -> Self

Source

pub fn shader_expect_assume(self, value: bool) -> Self

Source

pub fn rectangular_lines(self, value: bool) -> Self

Source

pub fn bresenham_lines(self, value: bool) -> Self

Source

pub fn smooth_lines(self, value: bool) -> Self

Source

pub fn stippled_rectangular_lines(self, value: bool) -> Self

Source

pub fn stippled_bresenham_lines(self, value: bool) -> Self

Source

pub fn stippled_smooth_lines(self, value: bool) -> Self

Source

pub fn vertex_attribute_instance_rate_divisor(self, value: bool) -> Self

Source

pub fn vertex_attribute_instance_rate_zero_divisor(self, value: bool) -> Self

Source

pub fn index_type_uint8(self, value: bool) -> Self

Source

pub fn dynamic_rendering_local_read(self, value: bool) -> Self

Source

pub fn maintenance5(self, value: bool) -> Self

Source

pub fn maintenance6(self, value: bool) -> Self

Source

pub fn pipeline_protected_access(self, value: bool) -> Self

Source

pub fn pipeline_robustness(self, value: bool) -> Self

Source

pub fn host_image_copy(self, value: bool) -> Self

Source

pub fn push_descriptor(self, value: bool) -> Self

Source

pub fn push_next<T: ExtendsPhysicalDeviceVulkan14Features>( self, next: &'a mut T, ) -> Self

Prepend a struct to the pNext chain. See PhysicalDeviceVulkan14Features’s Extended By section for valid types.

Trait Implementations§

Source§

impl<'a> Deref for PhysicalDeviceVulkan14FeaturesBuilder<'a>

Source§

type Target = PhysicalDeviceVulkan14Features

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl<'a> DerefMut for PhysicalDeviceVulkan14FeaturesBuilder<'a>

Source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

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>,

Source§

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.