pub struct SoAHitRefMut<'a, T> { /* private fields */ }
Implementations§
Source§impl<'a, T: SoAHit + 'a> SoAHitRefMut<'a, T>
impl<'a, T: SoAHit + 'a> SoAHitRefMut<'a, T>
pub fn normal(&self) -> Vector3<f32>
pub fn set_normal(&mut self, n: Vector3<f32>)
pub fn uv(&self) -> (f32, f32)
pub fn set_u(&mut self, u: f32)
pub fn set_v(&mut self, v: f32)
pub fn prim_id(&self) -> u32
pub fn set_prim_id(&mut self, id: u32)
pub fn geom_id(&self) -> u32
pub fn set_geom_id(&mut self, id: u32)
pub fn inst_id(&self) -> u32
pub fn set_inst_id(&mut self, id: u32)
pub fn hit(&self) -> bool
Auto Trait Implementations§
impl<'a, T> Freeze for SoAHitRefMut<'a, T>
impl<'a, T> RefUnwindSafe for SoAHitRefMut<'a, T>where
T: RefUnwindSafe,
impl<'a, T> !Send for SoAHitRefMut<'a, T>
impl<'a, T> !Sync for SoAHitRefMut<'a, T>
impl<'a, T> Unpin for SoAHitRefMut<'a, T>
impl<'a, T> !UnwindSafe for SoAHitRefMut<'a, T>
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