pub struct CopyAccelerationStructureToMemoryInfoKHRBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
impl<'a> CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
pub fn src(self, src: AccelerationStructureKHR) -> Self
pub fn dst(self, dst: DeviceOrHostAddressKHR) -> Self
pub fn mode(self, mode: CopyAccelerationStructureModeKHR) -> Self
Sourcepub fn build(self) -> CopyAccelerationStructureToMemoryInfoKHR
pub fn build(self) -> CopyAccelerationStructureToMemoryInfoKHR
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 CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
impl<'a> Deref for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
impl<'a> RefUnwindSafe for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
impl<'a> !Send for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
impl<'a> !Sync for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
impl<'a> Unpin for CopyAccelerationStructureToMemoryInfoKHRBuilder<'a>
impl<'a> UnwindSafe for CopyAccelerationStructureToMemoryInfoKHRBuilder<'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