#[repr(C)]pub struct SamplerYcbcrConversionCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub format: Format,
pub ycbcr_model: SamplerYcbcrModelConversion,
pub ycbcr_range: SamplerYcbcrRange,
pub components: ComponentMapping,
pub x_chroma_offset: ChromaLocation,
pub y_chroma_offset: ChromaLocation,
pub chroma_filter: Filter,
pub force_explicit_reconstruction: Bool32,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§format: Format
§ycbcr_model: SamplerYcbcrModelConversion
§ycbcr_range: SamplerYcbcrRange
§components: ComponentMapping
§x_chroma_offset: ChromaLocation
§y_chroma_offset: ChromaLocation
§chroma_filter: Filter
§force_explicit_reconstruction: Bool32
Implementations§
Source§impl SamplerYcbcrConversionCreateInfo
impl SamplerYcbcrConversionCreateInfo
pub fn builder<'a>() -> SamplerYcbcrConversionCreateInfoBuilder<'a>
Trait Implementations§
Source§impl Clone for SamplerYcbcrConversionCreateInfo
impl Clone for SamplerYcbcrConversionCreateInfo
Source§fn clone(&self) -> SamplerYcbcrConversionCreateInfo
fn clone(&self) -> SamplerYcbcrConversionCreateInfo
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 moreimpl Copy for SamplerYcbcrConversionCreateInfo
Auto Trait Implementations§
impl Freeze for SamplerYcbcrConversionCreateInfo
impl RefUnwindSafe for SamplerYcbcrConversionCreateInfo
impl !Send for SamplerYcbcrConversionCreateInfo
impl !Sync for SamplerYcbcrConversionCreateInfo
impl Unpin for SamplerYcbcrConversionCreateInfo
impl UnwindSafe for SamplerYcbcrConversionCreateInfo
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
)