#[repr(C)]pub struct PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub fragment_shader_barycentric: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§fragment_shader_barycentric: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl<'a> PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
pub fn fragment_shader_barycentric( self, fragment_shader_barycentric: bool, ) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl<'a> Clone for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
source§fn clone(&self) -> PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
fn clone(&self) -> PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl<'a> Debug for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_KHR
impl<'a> Copy for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'_>
impl Send for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'_>
impl Sync for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl<'a> Unpin for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceFragmentShaderBarycentricFeaturesKHR<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more