pub struct VideoBeginCodingInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> VideoBeginCodingInfoKHRBuilder<'a>
pub fn flags(self, flags: VideoBeginCodingFlagsKHR) -> Self
pub fn codec_quality_preset( self, codec_quality_preset: VideoCodingQualityPresetFlagsKHR, ) -> Self
pub fn video_session(self, video_session: VideoSessionKHR) -> Self
pub fn video_session_parameters( self, video_session_parameters: VideoSessionParametersKHR, ) -> Self
pub fn reference_slots( self, reference_slots: &'a [VideoReferenceSlotKHR], ) -> Self
Sourcepub fn build(self) -> VideoBeginCodingInfoKHR
pub fn build(self) -> VideoBeginCodingInfoKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> Deref for VideoBeginCodingInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> !Send for VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> !Sync for VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> Unpin for VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> UnwindSafe for VideoBeginCodingInfoKHRBuilder<'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