pub struct VideoEncodeRateControlInfoKHRBuilder<'b> { /* private fields */ }
Expand description
A builder for a VideoEncodeRateControlInfoKHR
.
Implementations§
source§impl<'b> VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> VideoEncodeRateControlInfoKHRBuilder<'b>
pub fn flags(self, flags: VideoEncodeRateControlFlagsKHR) -> Self
pub fn rate_control_mode( self, rate_control_mode: VideoEncodeRateControlModeFlagsKHR ) -> Self
pub fn layers( self, layers: &'b [impl Cast<Target = VideoEncodeRateControlLayerInfoKHR>] ) -> Self
pub fn virtual_buffer_size_in_ms(self, virtual_buffer_size_in_ms: u32) -> Self
pub fn initial_virtual_buffer_size_in_ms( self, initial_virtual_buffer_size_in_ms: u32 ) -> Self
pub fn build(self) -> VideoEncodeRateControlInfoKHR
Trait Implementations§
source§impl<'b> Cast for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> Cast for VideoEncodeRateControlInfoKHRBuilder<'b>
§type Target = VideoEncodeRateControlInfoKHR
type Target = VideoEncodeRateControlInfoKHR
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> Clone for VideoEncodeRateControlInfoKHRBuilder<'b>
source§fn clone(&self) -> VideoEncodeRateControlInfoKHRBuilder<'b>
fn clone(&self) -> VideoEncodeRateControlInfoKHRBuilder<'b>
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<'b> Debug for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> Debug for VideoEncodeRateControlInfoKHRBuilder<'b>
source§impl<'b> Default for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> Default for VideoEncodeRateControlInfoKHRBuilder<'b>
source§fn default() -> VideoEncodeRateControlInfoKHRBuilder<'b>
fn default() -> VideoEncodeRateControlInfoKHRBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> Deref for VideoEncodeRateControlInfoKHRBuilder<'b>
source§impl<'b> DerefMut for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> DerefMut for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> Copy for VideoEncodeRateControlInfoKHRBuilder<'b>
Auto Trait Implementations§
impl<'b> Freeze for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> RefUnwindSafe for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> !Send for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> !Sync for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> Unpin for VideoEncodeRateControlInfoKHRBuilder<'b>
impl<'b> UnwindSafe for VideoEncodeRateControlInfoKHRBuilder<'b>
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