Struct pilka_lib::ash::vk::VideoProfilesKHRBuilder [−]
#[repr(transparent)]pub struct VideoProfilesKHRBuilder<'a> { /* fields omitted */ }
Implementations
impl<'a> VideoProfilesKHRBuilder<'a>
impl<'a> VideoProfilesKHRBuilder<'a>
pub fn profile_count(self, profile_count: u32) -> VideoProfilesKHRBuilder<'a>
pub fn profiles(
self,
profiles: &'a VideoProfileKHR
) -> VideoProfilesKHRBuilder<'a>
pub fn build(self) -> VideoProfilesKHR
pub fn build(self) -> VideoProfilesKHR
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.
Methods from Deref<Target = VideoProfilesKHR>
Trait Implementations
impl<'a> Deref for VideoProfilesKHRBuilder<'a>
impl<'a> Deref for VideoProfilesKHRBuilder<'a>
type Target = VideoProfilesKHR
type Target = VideoProfilesKHR
The resulting type after dereferencing.
pub fn deref(&self) -> &<VideoProfilesKHRBuilder<'a> as Deref>::Target
pub fn deref(&self) -> &<VideoProfilesKHRBuilder<'a> as Deref>::Target
Dereferences the value.
impl<'a> DerefMut for VideoProfilesKHRBuilder<'a>
impl<'a> DerefMut for VideoProfilesKHRBuilder<'a>
pub fn deref_mut(
&mut self
) -> &mut <VideoProfilesKHRBuilder<'a> as Deref>::Target
pub fn deref_mut(
&mut self
) -> &mut <VideoProfilesKHRBuilder<'a> as Deref>::Target
Mutably dereferences the value.