Struct ash::vk::VideoBeginCodingInfoKHRBuilder
source · [−]#[repr(transparent)]pub struct VideoBeginCodingInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for VideoBeginCodingInfoKHRBuilder<'a>
impl<'a> Deref for VideoBeginCodingInfoKHRBuilder<'a>
type Target = VideoBeginCodingInfoKHR
type Target = VideoBeginCodingInfoKHR
The resulting type after dereferencing.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more