pub struct RayObjectIntersectionState<'a, M: DynShaderModule + ?Sized> {
pub closest_hit: ProgrammableStage<'a, M>,
pub any_hit: Option<ProgrammableStage<'a, M>>,
}Fields§
§closest_hit: ProgrammableStage<'a, M>§any_hit: Option<ProgrammableStage<'a, M>>Trait Implementations§
Source§impl<'a, M: Clone + DynShaderModule + ?Sized> Clone for RayObjectIntersectionState<'a, M>
impl<'a, M: Clone + DynShaderModule + ?Sized> Clone for RayObjectIntersectionState<'a, M>
Source§fn clone(&self) -> RayObjectIntersectionState<'a, M>
fn clone(&self) -> RayObjectIntersectionState<'a, M>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a, M> Freeze for RayObjectIntersectionState<'a, M>where
M: ?Sized,
impl<'a, M> RefUnwindSafe for RayObjectIntersectionState<'a, M>where
M: RefUnwindSafe + ?Sized,
impl<'a, M> Send for RayObjectIntersectionState<'a, M>where
M: ?Sized,
impl<'a, M> Sync for RayObjectIntersectionState<'a, M>where
M: ?Sized,
impl<'a, M> Unpin for RayObjectIntersectionState<'a, M>where
M: ?Sized,
impl<'a, M> UnsafeUnpin for RayObjectIntersectionState<'a, M>where
M: ?Sized,
impl<'a, M> UnwindSafe for RayObjectIntersectionState<'a, M>where
M: RefUnwindSafe + ?Sized,
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