#[repr(transparent)]pub struct CopyMemoryToAccelerationStructureInfoKHRBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
pub fn src(self, src: DeviceOrHostAddressConstKHR) -> Self
pub fn dst(self, dst: AccelerationStructureKHR) -> Self
pub fn mode(self, mode: CopyAccelerationStructureModeKHR) -> Self
sourcepub fn build(self) -> CopyMemoryToAccelerationStructureInfoKHR
pub fn build(self) -> CopyMemoryToAccelerationStructureInfoKHR
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 CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> Deref for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
type Target = CopyMemoryToAccelerationStructureInfoKHR
type Target = CopyMemoryToAccelerationStructureInfoKHR
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> !Send for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> !Sync for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> Unpin for CopyMemoryToAccelerationStructureInfoKHRBuilder<'a>
impl<'a> UnwindSafe for CopyMemoryToAccelerationStructureInfoKHRBuilder<'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