pub enum RayTracingIntersectionDescriptor<'a, SM = Arc<ShaderModule>> {
Triangle {
closest_hit: ProgrammableStageDescriptor<'a, SM>,
any_hit: Option<ProgrammableStageDescriptor<'a, SM>>,
},
}Variants§
Triangle
Fields
§
closest_hit: ProgrammableStageDescriptor<'a, SM>§
any_hit: Option<ProgrammableStageDescriptor<'a, SM>>Trait Implementations§
Source§impl<'a, SM: Clone> Clone for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM: Clone> Clone for RayTracingIntersectionDescriptor<'a, SM>
Source§impl<'a, SM: Debug> Debug for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM: Debug> Debug for RayTracingIntersectionDescriptor<'a, SM>
Source§impl<'de, 'a, SM> Deserialize<'de> for RayTracingIntersectionDescriptor<'a, SM>where
SM: Deserialize<'de>,
Available on crate feature serde only.
impl<'de, 'a, SM> Deserialize<'de> for RayTracingIntersectionDescriptor<'a, SM>where
SM: Deserialize<'de>,
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a, SM> Forget for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM> Freeze for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM> Move for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM> RefUnwindSafe for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM> Send for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM> Sync for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM> Unpin for RayTracingIntersectionDescriptor<'a, SM>
impl<'a, SM> UnsafeUnpin for RayTracingIntersectionDescriptor<'a, SM>where
SM: UnsafeUnpin,
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<(String, f64)>: UnsafeUnpin,
impl<'a, SM> UnwindSafe for RayTracingIntersectionDescriptor<'a, SM>where
SM: UnwindSafe,
&'a str: UnwindSafe,
String: UnwindSafe,
NonNull<u8>: UnwindSafe,
RawVecInner: UnwindSafe,
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