#[repr(C)]pub struct VideoEncodeAV1RateControlLayerInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub use_min_q_index: Bool32,
pub min_q_index: VideoEncodeAV1QIndexKHR,
pub use_max_q_index: Bool32,
pub max_q_index: VideoEncodeAV1QIndexKHR,
pub use_max_frame_size: Bool32,
pub max_frame_size: VideoEncodeAV1FrameSizeKHR,
pub _marker: PhantomData<&'a ()>,
}Expand description
Fields§
§s_type: StructureType§p_next: *const c_void§use_min_q_index: Bool32§min_q_index: VideoEncodeAV1QIndexKHR§use_max_q_index: Bool32§max_q_index: VideoEncodeAV1QIndexKHR§use_max_frame_size: Bool32§max_frame_size: VideoEncodeAV1FrameSizeKHR§_marker: PhantomData<&'a ()>Implementations§
Source§impl<'a> VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl<'a> VideoEncodeAV1RateControlLayerInfoKHR<'a>
pub fn use_min_q_index(self, use_min_q_index: bool) -> Self
pub fn min_q_index(self, min_q_index: VideoEncodeAV1QIndexKHR) -> Self
pub fn use_max_q_index(self, use_max_q_index: bool) -> Self
pub fn max_q_index(self, max_q_index: VideoEncodeAV1QIndexKHR) -> Self
pub fn use_max_frame_size(self, use_max_frame_size: bool) -> Self
pub fn max_frame_size(self, max_frame_size: VideoEncodeAV1FrameSizeKHR) -> Self
Trait Implementations§
Source§impl<'a> Clone for VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl<'a> Clone for VideoEncodeAV1RateControlLayerInfoKHR<'a>
Source§fn clone(&self) -> VideoEncodeAV1RateControlLayerInfoKHR<'a>
fn clone(&self) -> VideoEncodeAV1RateControlLayerInfoKHR<'a>
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<'a> Debug for VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl<'a> Debug for VideoEncodeAV1RateControlLayerInfoKHR<'a>
Source§impl Default for VideoEncodeAV1RateControlLayerInfoKHR<'_>
impl Default for VideoEncodeAV1RateControlLayerInfoKHR<'_>
Source§impl<'a> TaggedStructure for VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl<'a> TaggedStructure for VideoEncodeAV1RateControlLayerInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_AV1_RATE_CONTROL_LAYER_INFO_KHR
impl<'a> Copy for VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl ExtendsVideoEncodeRateControlLayerInfoKHR for VideoEncodeAV1RateControlLayerInfoKHR<'_>
impl Send for VideoEncodeAV1RateControlLayerInfoKHR<'_>
impl Sync for VideoEncodeAV1RateControlLayerInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl<'a> RefUnwindSafe for VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl<'a> Unpin for VideoEncodeAV1RateControlLayerInfoKHR<'a>
impl<'a> UnwindSafe for VideoEncodeAV1RateControlLayerInfoKHR<'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