Struct ash::vk::definitions::ScreenBufferFormatPropertiesQNX
source · #[repr(C)]pub struct ScreenBufferFormatPropertiesQNX<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub format: Format,
pub external_format: u64,
pub screen_usage: u64,
pub format_features: FormatFeatureFlags,
pub sampler_ycbcr_conversion_components: ComponentMapping,
pub suggested_ycbcr_model: SamplerYcbcrModelConversion,
pub suggested_ycbcr_range: SamplerYcbcrRange,
pub suggested_x_chroma_offset: ChromaLocation,
pub suggested_y_chroma_offset: ChromaLocation,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§format: Format
§external_format: u64
§screen_usage: u64
§format_features: FormatFeatureFlags
§sampler_ycbcr_conversion_components: ComponentMapping
§suggested_ycbcr_model: SamplerYcbcrModelConversion
§suggested_ycbcr_range: SamplerYcbcrRange
§suggested_x_chroma_offset: ChromaLocation
§suggested_y_chroma_offset: ChromaLocation
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> ScreenBufferFormatPropertiesQNX<'a>
impl<'a> ScreenBufferFormatPropertiesQNX<'a>
pub fn format(self, format: Format) -> Self
pub fn external_format(self, external_format: u64) -> Self
pub fn screen_usage(self, screen_usage: u64) -> Self
pub fn format_features(self, format_features: FormatFeatureFlags) -> Self
pub fn sampler_ycbcr_conversion_components( self, sampler_ycbcr_conversion_components: ComponentMapping, ) -> Self
pub fn suggested_ycbcr_model( self, suggested_ycbcr_model: SamplerYcbcrModelConversion, ) -> Self
pub fn suggested_ycbcr_range( self, suggested_ycbcr_range: SamplerYcbcrRange, ) -> Self
pub fn suggested_x_chroma_offset( self, suggested_x_chroma_offset: ChromaLocation, ) -> Self
pub fn suggested_y_chroma_offset( self, suggested_y_chroma_offset: ChromaLocation, ) -> Self
Trait Implementations§
source§impl<'a> Clone for ScreenBufferFormatPropertiesQNX<'a>
impl<'a> Clone for ScreenBufferFormatPropertiesQNX<'a>
source§fn clone(&self) -> ScreenBufferFormatPropertiesQNX<'a>
fn clone(&self) -> ScreenBufferFormatPropertiesQNX<'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 ScreenBufferFormatPropertiesQNX<'a>
impl<'a> Debug for ScreenBufferFormatPropertiesQNX<'a>
source§impl Default for ScreenBufferFormatPropertiesQNX<'_>
impl Default for ScreenBufferFormatPropertiesQNX<'_>
source§impl<'a> TaggedStructure for ScreenBufferFormatPropertiesQNX<'a>
impl<'a> TaggedStructure for ScreenBufferFormatPropertiesQNX<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SCREEN_BUFFER_FORMAT_PROPERTIES_QNX
impl<'a> Copy for ScreenBufferFormatPropertiesQNX<'a>
impl ExtendsScreenBufferPropertiesQNX for ScreenBufferFormatPropertiesQNX<'_>
impl Send for ScreenBufferFormatPropertiesQNX<'_>
impl Sync for ScreenBufferFormatPropertiesQNX<'_>
Auto Trait Implementations§
impl<'a> Freeze for ScreenBufferFormatPropertiesQNX<'a>
impl<'a> RefUnwindSafe for ScreenBufferFormatPropertiesQNX<'a>
impl<'a> Unpin for ScreenBufferFormatPropertiesQNX<'a>
impl<'a> UnwindSafe for ScreenBufferFormatPropertiesQNX<'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