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