Struct ash::vk::VideoBindMemoryKHRBuilder
source · [−]#[repr(transparent)]pub struct VideoBindMemoryKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for VideoBindMemoryKHRBuilder<'a>
impl<'a> Deref for VideoBindMemoryKHRBuilder<'a>
type Target = VideoBindMemoryKHR
type Target = VideoBindMemoryKHR
The resulting type after dereferencing.
Auto Trait Implementations
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
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