pub struct RayCastResult {
pub kind: HitKind,
pub position: Vec3,
pub normal: Vec3,
pub sqr_distance: f32,
}Fields§
§kind: HitKind§position: Vec3§normal: Vec3§sqr_distance: f32Auto Trait Implementations§
impl Freeze for RayCastResult
impl RefUnwindSafe for RayCastResult
impl Send for RayCastResult
impl Sync for RayCastResult
impl Unpin for RayCastResult
impl UnsafeUnpin for RayCastResult
impl UnwindSafe for RayCastResult
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