#[repr(transparent)]pub struct VideoFormatPropertiesKHRBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> VideoFormatPropertiesKHRBuilder<'a>
impl<'a> VideoFormatPropertiesKHRBuilder<'a>
pub fn format(self, format: Format) -> VideoFormatPropertiesKHRBuilder<'a>
sourcepub fn build(self) -> VideoFormatPropertiesKHR
pub fn build(self) -> VideoFormatPropertiesKHR
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 VideoFormatPropertiesKHRBuilder<'a>
impl<'a> Deref for VideoFormatPropertiesKHRBuilder<'a>
type Target = VideoFormatPropertiesKHR
type Target = VideoFormatPropertiesKHR
The resulting type after dereferencing.
sourcefn deref(&self) -> &<VideoFormatPropertiesKHRBuilder<'a> as Deref>::Target
fn deref(&self) -> &<VideoFormatPropertiesKHRBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> DerefMut for VideoFormatPropertiesKHRBuilder<'a>
sourcefn deref_mut(
&mut self
) -> &mut <VideoFormatPropertiesKHRBuilder<'a> as Deref>::Target
fn deref_mut(
&mut self
) -> &mut <VideoFormatPropertiesKHRBuilder<'a> as Deref>::Target
Mutably dereferences the value.
Auto Trait Implementations
impl<'a> RefUnwindSafe for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> !Send for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> !Sync for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> Unpin for VideoFormatPropertiesKHRBuilder<'a>
impl<'a> UnwindSafe for VideoFormatPropertiesKHRBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more