#[repr(C)]pub struct VideoReferenceSlotInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub slot_index: i32,
pub p_picture_resource: *const VideoPictureResourceInfoKHR,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR.
p_next: *const c_voidOptional, may be null.
slot_index: i32§p_picture_resource: *const VideoPictureResourceInfoKHROptional, may be null.
Implementations§
Source§impl VideoReferenceSlotInfoKHR
impl VideoReferenceSlotInfoKHR
Sourcepub fn builder<'a>() -> VideoReferenceSlotInfoKHRBuilder<'a>
pub fn builder<'a>() -> VideoReferenceSlotInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for VideoReferenceSlotInfoKHR
impl Clone for VideoReferenceSlotInfoKHR
Source§fn clone(&self) -> VideoReferenceSlotInfoKHR
fn clone(&self) -> VideoReferenceSlotInfoKHR
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 Debug for VideoReferenceSlotInfoKHR
impl Debug for VideoReferenceSlotInfoKHR
Source§impl Default for VideoReferenceSlotInfoKHR
impl Default for VideoReferenceSlotInfoKHR
Source§fn default() -> VideoReferenceSlotInfoKHR
fn default() -> VideoReferenceSlotInfoKHR
Returns the “default value” for a type. Read more
impl Copy for VideoReferenceSlotInfoKHR
Auto Trait Implementations§
impl Freeze for VideoReferenceSlotInfoKHR
impl RefUnwindSafe for VideoReferenceSlotInfoKHR
impl !Send for VideoReferenceSlotInfoKHR
impl !Sync for VideoReferenceSlotInfoKHR
impl Unpin for VideoReferenceSlotInfoKHR
impl UnsafeUnpin for VideoReferenceSlotInfoKHR
impl UnwindSafe for VideoReferenceSlotInfoKHR
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