#[repr(C)]pub struct CopyAccelerationStructureInfoKHR {
pub s_type: StructureType,
pub p_next: *const c_void,
pub src: AccelerationStructureKHR,
pub dst: AccelerationStructureKHR,
pub mode: CopyAccelerationStructureModeKHR,
}Expand description
VkCopyAccelerationStructureInfoKHR
Provided by VK_KHR_acceleration_structure.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_COPY_ACCELERATION_STRUCTURE_INFO_KHR.
p_next: *const c_voidOptional, may be null.
src: AccelerationStructureKHR§dst: AccelerationStructureKHR§mode: CopyAccelerationStructureModeKHRImplementations§
Source§impl CopyAccelerationStructureInfoKHR
impl CopyAccelerationStructureInfoKHR
Sourcepub fn builder<'a>() -> CopyAccelerationStructureInfoKHRBuilder<'a>
pub fn builder<'a>() -> CopyAccelerationStructureInfoKHRBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for CopyAccelerationStructureInfoKHR
impl Clone for CopyAccelerationStructureInfoKHR
Source§fn clone(&self) -> CopyAccelerationStructureInfoKHR
fn clone(&self) -> CopyAccelerationStructureInfoKHR
Returns a duplicate 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 moreimpl Copy for CopyAccelerationStructureInfoKHR
Auto Trait Implementations§
impl Freeze for CopyAccelerationStructureInfoKHR
impl RefUnwindSafe for CopyAccelerationStructureInfoKHR
impl !Send for CopyAccelerationStructureInfoKHR
impl !Sync for CopyAccelerationStructureInfoKHR
impl Unpin for CopyAccelerationStructureInfoKHR
impl UnsafeUnpin for CopyAccelerationStructureInfoKHR
impl UnwindSafe for CopyAccelerationStructureInfoKHR
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