#[repr(C)]pub struct PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub p_video_profile: *const VideoProfileInfoKHR<'a>,
pub quality_level: u32,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§p_video_profile: *const VideoProfileInfoKHR<'a>
§quality_level: u32
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl<'a> PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
pub fn video_profile(self, video_profile: &'a VideoProfileInfoKHR<'a>) -> Self
pub fn quality_level(self, quality_level: u32) -> Self
Trait Implementations§
source§impl<'a> Clone for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl<'a> Clone for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
source§fn clone(&self) -> PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
fn clone(&self) -> PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'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 PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl<'a> Debug for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
source§impl<'a> TaggedStructure for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl<'a> TaggedStructure for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR
impl<'a> Copy for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl Send for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'_>
impl Sync for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl<'a> RefUnwindSafe for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl<'a> Unpin for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'a>
impl<'a> UnwindSafe for PhysicalDeviceVideoEncodeQualityLevelInfoKHR<'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