pub struct SamplerYcbcrConversionCreateInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a SamplerYcbcrConversionCreateInfo
.
Implementations§
source§impl<'b> SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> SamplerYcbcrConversionCreateInfoBuilder<'b>
pub fn push_next<T>(self, next: &'b mut impl Cast<Target = T>) -> Selfwhere
T: ExtendsSamplerYcbcrConversionCreateInfo,
pub fn format(self, format: Format) -> Self
pub fn ycbcr_model(self, ycbcr_model: SamplerYcbcrModelConversion) -> Self
pub fn ycbcr_range(self, ycbcr_range: SamplerYcbcrRange) -> Self
pub fn components( self, components: impl Cast<Target = ComponentMapping> ) -> Self
pub fn x_chroma_offset(self, x_chroma_offset: ChromaLocation) -> Self
pub fn y_chroma_offset(self, y_chroma_offset: ChromaLocation) -> Self
pub fn chroma_filter(self, chroma_filter: Filter) -> Self
pub fn force_explicit_reconstruction( self, force_explicit_reconstruction: bool ) -> Self
pub fn build(self) -> SamplerYcbcrConversionCreateInfo
Trait Implementations§
source§impl<'b> Cast for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> Cast for SamplerYcbcrConversionCreateInfoBuilder<'b>
§type Target = SamplerYcbcrConversionCreateInfo
type Target = SamplerYcbcrConversionCreateInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> Clone for SamplerYcbcrConversionCreateInfoBuilder<'b>
source§fn clone(&self) -> SamplerYcbcrConversionCreateInfoBuilder<'b>
fn clone(&self) -> SamplerYcbcrConversionCreateInfoBuilder<'b>
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<'b> Debug for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> Debug for SamplerYcbcrConversionCreateInfoBuilder<'b>
source§impl<'b> Default for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> Default for SamplerYcbcrConversionCreateInfoBuilder<'b>
source§fn default() -> SamplerYcbcrConversionCreateInfoBuilder<'b>
fn default() -> SamplerYcbcrConversionCreateInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> Deref for SamplerYcbcrConversionCreateInfoBuilder<'b>
source§impl<'b> DerefMut for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> DerefMut for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> Copy for SamplerYcbcrConversionCreateInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> RefUnwindSafe for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> !Send for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> !Sync for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> Unpin for SamplerYcbcrConversionCreateInfoBuilder<'b>
impl<'b> UnwindSafe for SamplerYcbcrConversionCreateInfoBuilder<'b>
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