#[repr(transparent)]pub struct ScreenBufferFormatPropertiesQNXBuilder { /* private fields */ }
Expand description
A builder for a ScreenBufferFormatPropertiesQNX
.
Implementations§
source§impl ScreenBufferFormatPropertiesQNXBuilder
impl ScreenBufferFormatPropertiesQNXBuilder
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: impl Cast<Target = 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
pub fn build(self) -> ScreenBufferFormatPropertiesQNX
Trait Implementations§
source§impl Cast for ScreenBufferFormatPropertiesQNXBuilder
impl Cast for ScreenBufferFormatPropertiesQNXBuilder
§type Target = ScreenBufferFormatPropertiesQNX
type Target = ScreenBufferFormatPropertiesQNX
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ScreenBufferFormatPropertiesQNXBuilder
impl Clone for ScreenBufferFormatPropertiesQNXBuilder
source§fn clone(&self) -> ScreenBufferFormatPropertiesQNXBuilder
fn clone(&self) -> ScreenBufferFormatPropertiesQNXBuilder
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 Default for ScreenBufferFormatPropertiesQNXBuilder
impl Default for ScreenBufferFormatPropertiesQNXBuilder
source§fn default() -> ScreenBufferFormatPropertiesQNXBuilder
fn default() -> ScreenBufferFormatPropertiesQNXBuilder
Returns the “default value” for a type. Read more
impl Copy for ScreenBufferFormatPropertiesQNXBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ScreenBufferFormatPropertiesQNXBuilder
impl !Send for ScreenBufferFormatPropertiesQNXBuilder
impl !Sync for ScreenBufferFormatPropertiesQNXBuilder
impl Unpin for ScreenBufferFormatPropertiesQNXBuilder
impl UnwindSafe for ScreenBufferFormatPropertiesQNXBuilder
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