#[repr(C)]pub struct CopyMemoryToAccelerationStructureInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src: DeviceOrHostAddressConstKHR,
pub dst: AccelerationStructureKHR,
pub mode: CopyAccelerationStructureModeKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src: DeviceOrHostAddressConstKHR
§dst: AccelerationStructureKHR
§mode: CopyAccelerationStructureModeKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CopyMemoryToAccelerationStructureInfoKHR<'a>
impl<'a> CopyMemoryToAccelerationStructureInfoKHR<'a>
pub fn src(self, src: DeviceOrHostAddressConstKHR) -> Self
pub fn dst(self, dst: AccelerationStructureKHR) -> Self
pub fn mode(self, mode: CopyAccelerationStructureModeKHR) -> Self
Trait Implementations§
source§impl<'a> Clone for CopyMemoryToAccelerationStructureInfoKHR<'a>
impl<'a> Clone for CopyMemoryToAccelerationStructureInfoKHR<'a>
source§fn clone(&self) -> CopyMemoryToAccelerationStructureInfoKHR<'a>
fn clone(&self) -> CopyMemoryToAccelerationStructureInfoKHR<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CopyMemoryToAccelerationStructureInfoKHR<'_>
impl Debug for CopyMemoryToAccelerationStructureInfoKHR<'_>
source§impl Default for CopyMemoryToAccelerationStructureInfoKHR<'_>
impl Default for CopyMemoryToAccelerationStructureInfoKHR<'_>
source§impl<'a> TaggedStructure for CopyMemoryToAccelerationStructureInfoKHR<'a>
impl<'a> TaggedStructure for CopyMemoryToAccelerationStructureInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR
impl<'a> Copy for CopyMemoryToAccelerationStructureInfoKHR<'a>
impl Send for CopyMemoryToAccelerationStructureInfoKHR<'_>
impl Sync for CopyMemoryToAccelerationStructureInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for CopyMemoryToAccelerationStructureInfoKHR<'a>
impl<'a> RefUnwindSafe for CopyMemoryToAccelerationStructureInfoKHR<'a>
impl<'a> Unpin for CopyMemoryToAccelerationStructureInfoKHR<'a>
impl<'a> UnwindSafe for CopyMemoryToAccelerationStructureInfoKHR<'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