pub struct VideoProfilesKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoProfilesKHRBuilder<'a>
impl<'a> VideoProfilesKHRBuilder<'a>
pub fn profiles(self, profiles: &'a [VideoProfileKHR]) -> Self
Sourcepub 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.
Trait Implementations§
Source§impl<'a> Deref for VideoProfilesKHRBuilder<'a>
impl<'a> Deref for VideoProfilesKHRBuilder<'a>
Source§impl<'a> DerefMut for VideoProfilesKHRBuilder<'a>
impl<'a> DerefMut for VideoProfilesKHRBuilder<'a>
impl ExtendsBufferCreateInfo for VideoProfilesKHRBuilder<'_>
impl ExtendsFormatProperties2 for VideoProfilesKHRBuilder<'_>
impl ExtendsImageCreateInfo for VideoProfilesKHRBuilder<'_>
impl ExtendsImageViewCreateInfo for VideoProfilesKHRBuilder<'_>
Auto Trait Implementations§
impl<'a> Freeze for VideoProfilesKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoProfilesKHRBuilder<'a>
impl<'a> !Send for VideoProfilesKHRBuilder<'a>
impl<'a> !Sync for VideoProfilesKHRBuilder<'a>
impl<'a> Unpin for VideoProfilesKHRBuilder<'a>
impl<'a> UnwindSafe for VideoProfilesKHRBuilder<'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