Struct ash::vk::definitions::VideoEncodeUsageInfoKHR
source · #[repr(C)]pub struct VideoEncodeUsageInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub video_usage_hints: VideoEncodeUsageFlagsKHR,
pub video_content_hints: VideoEncodeContentFlagsKHR,
pub tuning_mode: VideoEncodeTuningModeKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§video_usage_hints: VideoEncodeUsageFlagsKHR
§video_content_hints: VideoEncodeContentFlagsKHR
§tuning_mode: VideoEncodeTuningModeKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoEncodeUsageInfoKHR<'a>
impl<'a> VideoEncodeUsageInfoKHR<'a>
pub fn video_usage_hints( self, video_usage_hints: VideoEncodeUsageFlagsKHR, ) -> Self
pub fn video_content_hints( self, video_content_hints: VideoEncodeContentFlagsKHR, ) -> Self
pub fn tuning_mode(self, tuning_mode: VideoEncodeTuningModeKHR) -> Self
Trait Implementations§
source§impl<'a> Clone for VideoEncodeUsageInfoKHR<'a>
impl<'a> Clone for VideoEncodeUsageInfoKHR<'a>
source§fn clone(&self) -> VideoEncodeUsageInfoKHR<'a>
fn clone(&self) -> VideoEncodeUsageInfoKHR<'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 VideoEncodeUsageInfoKHR<'a>
impl<'a> Debug for VideoEncodeUsageInfoKHR<'a>
source§impl Default for VideoEncodeUsageInfoKHR<'_>
impl Default for VideoEncodeUsageInfoKHR<'_>
source§impl<'a> TaggedStructure for VideoEncodeUsageInfoKHR<'a>
impl<'a> TaggedStructure for VideoEncodeUsageInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_USAGE_INFO_KHR
impl<'a> Copy for VideoEncodeUsageInfoKHR<'a>
impl ExtendsQueryPoolCreateInfo for VideoEncodeUsageInfoKHR<'_>
impl ExtendsVideoProfileInfoKHR for VideoEncodeUsageInfoKHR<'_>
impl Send for VideoEncodeUsageInfoKHR<'_>
impl Sync for VideoEncodeUsageInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeUsageInfoKHR<'a>
impl<'a> RefUnwindSafe for VideoEncodeUsageInfoKHR<'a>
impl<'a> Unpin for VideoEncodeUsageInfoKHR<'a>
impl<'a> UnwindSafe for VideoEncodeUsageInfoKHR<'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