Struct ash::vk::definitions::VideoEncodeRateControlInfoKHR
source · #[repr(C)]pub struct VideoEncodeRateControlInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: VideoEncodeRateControlFlagsKHR,
pub rate_control_mode: VideoEncodeRateControlModeFlagsKHR,
pub layer_count: u32,
pub p_layers: *const VideoEncodeRateControlLayerInfoKHR<'a>,
pub virtual_buffer_size_in_ms: u32,
pub initial_virtual_buffer_size_in_ms: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: VideoEncodeRateControlFlagsKHR
§rate_control_mode: VideoEncodeRateControlModeFlagsKHR
§layer_count: u32
§p_layers: *const VideoEncodeRateControlLayerInfoKHR<'a>
§virtual_buffer_size_in_ms: u32
§initial_virtual_buffer_size_in_ms: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoEncodeRateControlInfoKHR<'a>
impl<'a> VideoEncodeRateControlInfoKHR<'a>
pub fn flags(self, flags: VideoEncodeRateControlFlagsKHR) -> Self
pub fn rate_control_mode( self, rate_control_mode: VideoEncodeRateControlModeFlagsKHR, ) -> Self
pub fn layers( self, layers: &'a [VideoEncodeRateControlLayerInfoKHR<'a>], ) -> 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
Trait Implementations§
source§impl<'a> Clone for VideoEncodeRateControlInfoKHR<'a>
impl<'a> Clone for VideoEncodeRateControlInfoKHR<'a>
source§fn clone(&self) -> VideoEncodeRateControlInfoKHR<'a>
fn clone(&self) -> VideoEncodeRateControlInfoKHR<'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 VideoEncodeRateControlInfoKHR<'a>
impl<'a> Debug for VideoEncodeRateControlInfoKHR<'a>
source§impl Default for VideoEncodeRateControlInfoKHR<'_>
impl Default for VideoEncodeRateControlInfoKHR<'_>
source§impl<'a> TaggedStructure for VideoEncodeRateControlInfoKHR<'a>
impl<'a> TaggedStructure for VideoEncodeRateControlInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_RATE_CONTROL_INFO_KHR
impl<'a> Copy for VideoEncodeRateControlInfoKHR<'a>
impl ExtendsVideoBeginCodingInfoKHR for VideoEncodeRateControlInfoKHR<'_>
impl ExtendsVideoCodingControlInfoKHR for VideoEncodeRateControlInfoKHR<'_>
impl Send for VideoEncodeRateControlInfoKHR<'_>
impl Sync for VideoEncodeRateControlInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeRateControlInfoKHR<'a>
impl<'a> RefUnwindSafe for VideoEncodeRateControlInfoKHR<'a>
impl<'a> Unpin for VideoEncodeRateControlInfoKHR<'a>
impl<'a> UnwindSafe for VideoEncodeRateControlInfoKHR<'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