pub struct VideoDecodeInfoKHRBuilder<'a> { /* private fields */ }Expand description
Builder for VideoDecodeInfoKHR with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> VideoDecodeInfoKHRBuilder<'a>
impl<'a> VideoDecodeInfoKHRBuilder<'a>
pub fn flags(self, value: VideoDecodeFlagsKHR) -> Self
pub fn src_buffer(self, value: Buffer) -> Self
pub fn src_buffer_offset(self, value: u64) -> Self
pub fn src_buffer_range(self, value: u64) -> Self
pub fn dst_picture_resource(self, value: VideoPictureResourceInfoKHR) -> Self
pub fn setup_reference_slot(self, value: &'a VideoReferenceSlotInfoKHR) -> Self
pub fn reference_slots(self, slice: &'a [VideoReferenceSlotInfoKHR]) -> Self
Sourcepub fn push_next<T: ExtendsVideoDecodeInfoKHR>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsVideoDecodeInfoKHR>(self, next: &'a mut T) -> Self
Prepend a struct to the pNext chain. See VideoDecodeInfoKHR’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for VideoDecodeInfoKHRBuilder<'a>
impl<'a> Deref for VideoDecodeInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoDecodeInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoDecodeInfoKHRBuilder<'a>
impl<'a> !Send for VideoDecodeInfoKHRBuilder<'a>
impl<'a> !Sync for VideoDecodeInfoKHRBuilder<'a>
impl<'a> Unpin for VideoDecodeInfoKHRBuilder<'a>
impl<'a> UnsafeUnpin for VideoDecodeInfoKHRBuilder<'a>
impl<'a> UnwindSafe for VideoDecodeInfoKHRBuilder<'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