pub struct VideoEncodeAV1RateControlInfoKHRBuilder { /* private fields */ }Expand description
A builder for a VideoEncodeAV1RateControlInfoKHR.
Implementations§
Source§impl VideoEncodeAV1RateControlInfoKHRBuilder
impl VideoEncodeAV1RateControlInfoKHRBuilder
pub fn flags(self, flags: VideoEncodeAV1RateControlFlagsKHR) -> Self
pub fn gop_frame_count(self, gop_frame_count: u32) -> Self
pub fn key_frame_period(self, key_frame_period: u32) -> Self
pub fn consecutive_bipredictive_frame_count( self, consecutive_bipredictive_frame_count: u32, ) -> Self
pub fn temporal_layer_count(self, temporal_layer_count: u32) -> Self
pub fn build(self) -> VideoEncodeAV1RateControlInfoKHR
Trait Implementations§
Source§impl Cast for VideoEncodeAV1RateControlInfoKHRBuilder
impl Cast for VideoEncodeAV1RateControlInfoKHRBuilder
Source§type Target = VideoEncodeAV1RateControlInfoKHR
type Target = VideoEncodeAV1RateControlInfoKHR
The other type this type can be used interchangeably with in FFI.
Source§impl Clone for VideoEncodeAV1RateControlInfoKHRBuilder
impl Clone for VideoEncodeAV1RateControlInfoKHRBuilder
Source§fn clone(&self) -> VideoEncodeAV1RateControlInfoKHRBuilder
fn clone(&self) -> VideoEncodeAV1RateControlInfoKHRBuilder
Returns a duplicate 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 Default for VideoEncodeAV1RateControlInfoKHRBuilder
impl Default for VideoEncodeAV1RateControlInfoKHRBuilder
Source§fn default() -> VideoEncodeAV1RateControlInfoKHRBuilder
fn default() -> VideoEncodeAV1RateControlInfoKHRBuilder
Returns the “default value” for a type. Read more
impl Copy for VideoEncodeAV1RateControlInfoKHRBuilder
Auto Trait Implementations§
impl Freeze for VideoEncodeAV1RateControlInfoKHRBuilder
impl RefUnwindSafe for VideoEncodeAV1RateControlInfoKHRBuilder
impl Send for VideoEncodeAV1RateControlInfoKHRBuilder
impl Sync for VideoEncodeAV1RateControlInfoKHRBuilder
impl Unpin for VideoEncodeAV1RateControlInfoKHRBuilder
impl UnwindSafe for VideoEncodeAV1RateControlInfoKHRBuilder
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