#[repr(C)]pub struct AccelerationStructureGeometryInstancesDataKHR<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub array_of_pointers: Bool32,
pub data: DeviceOrHostAddressConstKHR,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§array_of_pointers: Bool32
§data: DeviceOrHostAddressConstKHR
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> AccelerationStructureGeometryInstancesDataKHR<'a>
impl<'a> AccelerationStructureGeometryInstancesDataKHR<'a>
pub fn array_of_pointers(self, array_of_pointers: bool) -> Self
pub fn data(self, data: DeviceOrHostAddressConstKHR) -> Self
Trait Implementations§
source§impl<'a> Clone for AccelerationStructureGeometryInstancesDataKHR<'a>
impl<'a> Clone for AccelerationStructureGeometryInstancesDataKHR<'a>
source§fn clone(&self) -> AccelerationStructureGeometryInstancesDataKHR<'a>
fn clone(&self) -> AccelerationStructureGeometryInstancesDataKHR<'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<'a> TaggedStructure for AccelerationStructureGeometryInstancesDataKHR<'a>
impl<'a> TaggedStructure for AccelerationStructureGeometryInstancesDataKHR<'a>
const STRUCTURE_TYPE: StructureType = StructureType::ACCELERATION_STRUCTURE_GEOMETRY_INSTANCES_DATA_KHR
impl<'a> Copy for AccelerationStructureGeometryInstancesDataKHR<'a>
impl Send for AccelerationStructureGeometryInstancesDataKHR<'_>
impl Sync for AccelerationStructureGeometryInstancesDataKHR<'_>
Auto Trait Implementations§
impl<'a> Freeze for AccelerationStructureGeometryInstancesDataKHR<'a>
impl<'a> RefUnwindSafe for AccelerationStructureGeometryInstancesDataKHR<'a>
impl<'a> Unpin for AccelerationStructureGeometryInstancesDataKHR<'a>
impl<'a> UnwindSafe for AccelerationStructureGeometryInstancesDataKHR<'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