#[repr(C)]pub struct VideoSessionCreateInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub queue_family_index: u32,
pub flags: VideoSessionCreateFlagsKHR,
pub p_video_profile: *const VideoProfileInfoKHR,
pub picture_format: Format,
pub max_coded_extent: Extent2D,
pub reference_picture_format: Format,
pub max_dpb_slots: u32,
pub max_active_reference_pictures: u32,
pub p_std_header_version: *const ExtensionProperties,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§queue_family_index: u32
§flags: VideoSessionCreateFlagsKHR
§p_video_profile: *const VideoProfileInfoKHR
§picture_format: Format
§max_coded_extent: Extent2D
§reference_picture_format: Format
§max_dpb_slots: u32
§max_active_reference_pictures: u32
§p_std_header_version: *const ExtensionProperties
Implementations§
Source§impl VideoSessionCreateInfoKHR
impl VideoSessionCreateInfoKHR
pub fn builder<'a>() -> VideoSessionCreateInfoKHRBuilder<'a>
Trait Implementations§
Source§impl Clone for VideoSessionCreateInfoKHR
impl Clone for VideoSessionCreateInfoKHR
Source§fn clone(&self) -> VideoSessionCreateInfoKHR
fn clone(&self) -> VideoSessionCreateInfoKHR
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 Debug for VideoSessionCreateInfoKHR
impl Debug for VideoSessionCreateInfoKHR
Source§impl Default for VideoSessionCreateInfoKHR
impl Default for VideoSessionCreateInfoKHR
Source§fn default() -> VideoSessionCreateInfoKHR
fn default() -> VideoSessionCreateInfoKHR
Returns the “default value” for a type. Read more
Source§impl TaggedStructure for VideoSessionCreateInfoKHR
impl TaggedStructure for VideoSessionCreateInfoKHR
const STRUCTURE_TYPE: StructureType = StructureType::VIDEO_SESSION_CREATE_INFO_KHR
impl Copy for VideoSessionCreateInfoKHR
Auto Trait Implementations§
impl Freeze for VideoSessionCreateInfoKHR
impl RefUnwindSafe for VideoSessionCreateInfoKHR
impl !Send for VideoSessionCreateInfoKHR
impl !Sync for VideoSessionCreateInfoKHR
impl Unpin for VideoSessionCreateInfoKHR
impl UnwindSafe for VideoSessionCreateInfoKHR
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.