Struct ash::vk::definitions::VideoProfileInfoKHR
source · #[repr(C)]pub struct VideoProfileInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub video_codec_operation: VideoCodecOperationFlagsKHR,
pub chroma_subsampling: VideoChromaSubsamplingFlagsKHR,
pub luma_bit_depth: VideoComponentBitDepthFlagsKHR,
pub chroma_bit_depth: VideoComponentBitDepthFlagsKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§video_codec_operation: VideoCodecOperationFlagsKHR
§chroma_subsampling: VideoChromaSubsamplingFlagsKHR
§luma_bit_depth: VideoComponentBitDepthFlagsKHR
§chroma_bit_depth: VideoComponentBitDepthFlagsKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoProfileInfoKHR<'a>
impl<'a> VideoProfileInfoKHR<'a>
pub fn video_codec_operation( self, video_codec_operation: VideoCodecOperationFlagsKHR, ) -> Self
pub fn chroma_subsampling( self, chroma_subsampling: VideoChromaSubsamplingFlagsKHR, ) -> Self
pub fn luma_bit_depth( self, luma_bit_depth: VideoComponentBitDepthFlagsKHR, ) -> Self
pub fn chroma_bit_depth( self, chroma_bit_depth: VideoComponentBitDepthFlagsKHR, ) -> Self
sourcepub fn push_next<T: ExtendsVideoProfileInfoKHR + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsVideoProfileInfoKHR + ?Sized>( self, next: &'a mut T, ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for VideoProfileInfoKHR<'a>
impl<'a> Clone for VideoProfileInfoKHR<'a>
source§fn clone(&self) -> VideoProfileInfoKHR<'a>
fn clone(&self) -> VideoProfileInfoKHR<'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 VideoProfileInfoKHR<'a>
impl<'a> Debug for VideoProfileInfoKHR<'a>
source§impl Default for VideoProfileInfoKHR<'_>
impl Default for VideoProfileInfoKHR<'_>
source§impl<'a> TaggedStructure for VideoProfileInfoKHR<'a>
impl<'a> TaggedStructure for VideoProfileInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_PROFILE_INFO_KHR
impl<'a> Copy for VideoProfileInfoKHR<'a>
impl ExtendsQueryPoolCreateInfo for VideoProfileInfoKHR<'_>
impl Send for VideoProfileInfoKHR<'_>
impl Sync for VideoProfileInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoProfileInfoKHR<'a>
impl<'a> RefUnwindSafe for VideoProfileInfoKHR<'a>
impl<'a> Unpin for VideoProfileInfoKHR<'a>
impl<'a> UnwindSafe for VideoProfileInfoKHR<'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