Struct ash::vk::VideoEncodeH264RateControlInfoEXTBuilder
source · [−]#[repr(transparent)]pub struct VideoEncodeH264RateControlInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> VideoEncodeH264RateControlInfoEXTBuilder<'a>
pub fn gop_frame_count(self, gop_frame_count: u32) -> Self
pub fn idr_period(self, idr_period: u32) -> Self
pub fn consecutive_b_frame_count(self, consecutive_b_frame_count: u32) -> Self
pub fn rate_control_structure(
self,
rate_control_structure: VideoEncodeH264RateControlStructureFlagsEXT
) -> Self
pub fn temporal_layer_count(self, temporal_layer_count: u8) -> Self
sourcepub fn build(self) -> VideoEncodeH264RateControlInfoEXT
pub fn build(self) -> VideoEncodeH264RateControlInfoEXT
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations
sourceimpl<'a> Deref for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> Deref for VideoEncodeH264RateControlInfoEXTBuilder<'a>
type Target = VideoEncodeH264RateControlInfoEXT
type Target = VideoEncodeH264RateControlInfoEXT
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> DerefMut for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl ExtendsVideoEncodeRateControlInfoKHR for VideoEncodeH264RateControlInfoEXTBuilder<'_>
Auto Trait Implementations
impl<'a> RefUnwindSafe for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> !Send for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> !Sync for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> Unpin for VideoEncodeH264RateControlInfoEXTBuilder<'a>
impl<'a> UnwindSafe for VideoEncodeH264RateControlInfoEXTBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more