#[repr(C)]
pub struct PhysicalDevicePortabilitySubsetFeaturesKHR<'a> {
Show 18 fields pub s_type: StructureType, pub p_next: *mut c_void, pub constant_alpha_color_blend_factors: Bool32, pub events: Bool32, pub image_view_format_reinterpretation: Bool32, pub image_view_format_swizzle: Bool32, pub image_view2_d_on3_d_image: Bool32, pub multisample_array_image: Bool32, pub mutable_comparison_samplers: Bool32, pub point_polygons: Bool32, pub sampler_mip_lod_bias: Bool32, pub separate_stencil_mask_ref: Bool32, pub shader_sample_rate_interpolation_functions: Bool32, pub tessellation_isolines: Bool32, pub tessellation_point_mode: Bool32, pub triangle_fans: Bool32, pub vertex_attribute_access_beyond_stride: Bool32, pub _marker: PhantomData<&'a ()>,
}
Expand description

Fields§

§s_type: StructureType§p_next: *mut c_void§constant_alpha_color_blend_factors: Bool32§events: Bool32§image_view_format_reinterpretation: Bool32§image_view_format_swizzle: Bool32§image_view2_d_on3_d_image: Bool32§multisample_array_image: Bool32§mutable_comparison_samplers: Bool32§point_polygons: Bool32§sampler_mip_lod_bias: Bool32§separate_stencil_mask_ref: Bool32§shader_sample_rate_interpolation_functions: Bool32§tessellation_isolines: Bool32§tessellation_point_mode: Bool32§triangle_fans: Bool32§vertex_attribute_access_beyond_stride: Bool32§_marker: PhantomData<&'a ()>

Implementations§

source§

impl<'a> PhysicalDevicePortabilitySubsetFeaturesKHR<'a>

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Trait Implementations§

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> CloneToUninit for T
where T: Clone,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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,

source§

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

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.