#[repr(C)]pub struct PhysicalDeviceSamplerYcbcrConversionFeatures<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub sampler_ycbcr_conversion: Bool32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§sampler_ycbcr_conversion: Bool32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl<'a> PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
pub fn sampler_ycbcr_conversion(self, sampler_ycbcr_conversion: bool) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl<'a> Clone for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
source§fn clone(&self) -> PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
fn clone(&self) -> PhysicalDeviceSamplerYcbcrConversionFeatures<'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 PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl<'a> Debug for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl<'a> TaggedStructure for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES
impl<'a> Copy for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl ExtendsDeviceCreateInfo for PhysicalDeviceSamplerYcbcrConversionFeatures<'_>
impl ExtendsPhysicalDeviceFeatures2 for PhysicalDeviceSamplerYcbcrConversionFeatures<'_>
impl Send for PhysicalDeviceSamplerYcbcrConversionFeatures<'_>
impl Sync for PhysicalDeviceSamplerYcbcrConversionFeatures<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl<'a> Unpin for PhysicalDeviceSamplerYcbcrConversionFeatures<'a>
impl<'a> UnwindSafe for PhysicalDeviceSamplerYcbcrConversionFeatures<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)