Struct ash::vk::VideoBeginCodingInfoKHRBuilder
source · 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 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 [VideoReferenceSlotInfoKHR] ) -> 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> 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