pub struct VideoBindMemoryKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> VideoBindMemoryKHRBuilder<'a>
impl<'a> VideoBindMemoryKHRBuilder<'a>
pub fn memory_bind_index(self, memory_bind_index: u32) -> Self
pub fn memory(self, memory: DeviceMemory) -> Self
pub fn memory_offset(self, memory_offset: DeviceSize) -> Self
pub fn memory_size(self, memory_size: DeviceSize) -> Self
Sourcepub fn build(self) -> VideoBindMemoryKHR
pub fn build(self) -> VideoBindMemoryKHR
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 VideoBindMemoryKHRBuilder<'a>
impl<'a> Deref for VideoBindMemoryKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for VideoBindMemoryKHRBuilder<'a>
impl<'a> RefUnwindSafe for VideoBindMemoryKHRBuilder<'a>
impl<'a> !Send for VideoBindMemoryKHRBuilder<'a>
impl<'a> !Sync for VideoBindMemoryKHRBuilder<'a>
impl<'a> Unpin for VideoBindMemoryKHRBuilder<'a>
impl<'a> UnwindSafe for VideoBindMemoryKHRBuilder<'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