pub struct VideoEncodeH265RateControlInfoEXTBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> VideoEncodeH265RateControlInfoEXTBuilder<'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: VideoEncodeH265RateControlStructureFlagsEXT, ) -> Self
pub fn sub_layer_count(self, sub_layer_count: u8) -> Self
Sourcepub fn build(self) -> VideoEncodeH265RateControlInfoEXT
pub fn build(self) -> VideoEncodeH265RateControlInfoEXT
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§
Source§impl<'a> Deref for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> Deref for VideoEncodeH265RateControlInfoEXTBuilder<'a>
Source§impl<'a> DerefMut for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> DerefMut for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl ExtendsVideoEncodeRateControlInfoKHR for VideoEncodeH265RateControlInfoEXTBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> RefUnwindSafe for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> !Send for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> !Sync for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> Unpin for VideoEncodeH265RateControlInfoEXTBuilder<'a>
impl<'a> UnwindSafe for VideoEncodeH265RateControlInfoEXTBuilder<'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