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