Struct ash::vk::CopyAccelerationStructureToMemoryInfoKHR
source · #[repr(C)]pub struct CopyAccelerationStructureToMemoryInfoKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src: AccelerationStructureKHR,
pub dst: DeviceOrHostAddressKHR,
pub mode: CopyAccelerationStructureModeKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§src: AccelerationStructureKHR
§dst: DeviceOrHostAddressKHR
§mode: CopyAccelerationStructureModeKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> CopyAccelerationStructureToMemoryInfoKHR<'a>
impl<'a> CopyAccelerationStructureToMemoryInfoKHR<'a>
pub fn src(self, src: AccelerationStructureKHR) -> Self
pub fn dst(self, dst: DeviceOrHostAddressKHR) -> Self
pub fn mode(self, mode: CopyAccelerationStructureModeKHR) -> Self
Trait Implementations§
source§impl<'a> Clone for CopyAccelerationStructureToMemoryInfoKHR<'a>
impl<'a> Clone for CopyAccelerationStructureToMemoryInfoKHR<'a>
source§fn clone(&self) -> CopyAccelerationStructureToMemoryInfoKHR<'a>
fn clone(&self) -> CopyAccelerationStructureToMemoryInfoKHR<'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 CopyAccelerationStructureToMemoryInfoKHR<'_>
impl Debug for CopyAccelerationStructureToMemoryInfoKHR<'_>
source§impl Default for CopyAccelerationStructureToMemoryInfoKHR<'_>
impl Default for CopyAccelerationStructureToMemoryInfoKHR<'_>
source§impl<'a> TaggedStructure for CopyAccelerationStructureToMemoryInfoKHR<'a>
impl<'a> TaggedStructure for CopyAccelerationStructureToMemoryInfoKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::COPY_ACCELERATION_STRUCTURE_TO_MEMORY_INFO_KHR
impl<'a> Copy for CopyAccelerationStructureToMemoryInfoKHR<'a>
impl Send for CopyAccelerationStructureToMemoryInfoKHR<'_>
impl Sync for CopyAccelerationStructureToMemoryInfoKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for CopyAccelerationStructureToMemoryInfoKHR<'a>
impl<'a> RefUnwindSafe for CopyAccelerationStructureToMemoryInfoKHR<'a>
impl<'a> Unpin for CopyAccelerationStructureToMemoryInfoKHR<'a>
impl<'a> UnwindSafe for CopyAccelerationStructureToMemoryInfoKHR<'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