pub struct VideoSessionCreateInfoKHRBuilder<'a> { /* private fields */ }Expand description
Builder for VideoSessionCreateInfoKHR with lifetime-tied pNext safety.
Implementations§
Source§impl<'a> VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> VideoSessionCreateInfoKHRBuilder<'a>
pub fn queue_family_index(self, value: u32) -> Self
pub fn flags(self, value: VideoSessionCreateFlagsKHR) -> Self
pub fn video_profile(self, value: &'a VideoProfileInfoKHR) -> Self
pub fn picture_format(self, value: Format) -> Self
pub fn max_coded_extent(self, value: Extent2D) -> Self
pub fn reference_picture_format(self, value: Format) -> Self
pub fn max_dpb_slots(self, value: u32) -> Self
pub fn max_active_reference_pictures(self, value: u32) -> Self
pub fn std_header_version(self, value: &'a ExtensionProperties) -> Self
Sourcepub fn push_next<T: ExtendsVideoSessionCreateInfoKHR>(
self,
next: &'a mut T,
) -> Self
pub fn push_next<T: ExtendsVideoSessionCreateInfoKHR>( self, next: &'a mut T, ) -> Self
Prepend a struct to the pNext chain. See VideoSessionCreateInfoKHR’s Extended By section for valid types.
Trait Implementations§
Source§impl<'a> Deref for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> Deref for VideoSessionCreateInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> !Send for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> !Sync for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> Unpin for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> UnsafeUnpin for VideoSessionCreateInfoKHRBuilder<'a>
impl<'a> UnwindSafe for VideoSessionCreateInfoKHRBuilder<'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