Struct ash::vk::definitions::VideoEncodeQualityLevelPropertiesKHR
source · #[repr(C)]pub struct VideoEncodeQualityLevelPropertiesKHR<'a> {
pub s_type: StructureType,
pub p_next: *mut c_void,
pub preferred_rate_control_mode: VideoEncodeRateControlModeFlagsKHR,
pub preferred_rate_control_layer_count: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *mut c_void
§preferred_rate_control_mode: VideoEncodeRateControlModeFlagsKHR
§preferred_rate_control_layer_count: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> VideoEncodeQualityLevelPropertiesKHR<'a>
impl<'a> VideoEncodeQualityLevelPropertiesKHR<'a>
pub fn preferred_rate_control_mode( self, preferred_rate_control_mode: VideoEncodeRateControlModeFlagsKHR, ) -> Self
pub fn preferred_rate_control_layer_count( self, preferred_rate_control_layer_count: u32, ) -> Self
sourcepub fn push_next<T: ExtendsVideoEncodeQualityLevelPropertiesKHR + ?Sized>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsVideoEncodeQualityLevelPropertiesKHR + ?Sized>( self, next: &'a mut T, ) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for VideoEncodeQualityLevelPropertiesKHR<'a>
impl<'a> Clone for VideoEncodeQualityLevelPropertiesKHR<'a>
source§fn clone(&self) -> VideoEncodeQualityLevelPropertiesKHR<'a>
fn clone(&self) -> VideoEncodeQualityLevelPropertiesKHR<'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 VideoEncodeQualityLevelPropertiesKHR<'a>
impl<'a> Debug for VideoEncodeQualityLevelPropertiesKHR<'a>
source§impl Default for VideoEncodeQualityLevelPropertiesKHR<'_>
impl Default for VideoEncodeQualityLevelPropertiesKHR<'_>
source§impl<'a> TaggedStructure for VideoEncodeQualityLevelPropertiesKHR<'a>
impl<'a> TaggedStructure for VideoEncodeQualityLevelPropertiesKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHR
impl<'a> Copy for VideoEncodeQualityLevelPropertiesKHR<'a>
impl Send for VideoEncodeQualityLevelPropertiesKHR<'_>
impl Sync for VideoEncodeQualityLevelPropertiesKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoEncodeQualityLevelPropertiesKHR<'a>
impl<'a> RefUnwindSafe for VideoEncodeQualityLevelPropertiesKHR<'a>
impl<'a> Unpin for VideoEncodeQualityLevelPropertiesKHR<'a>
impl<'a> UnwindSafe for VideoEncodeQualityLevelPropertiesKHR<'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