Struct endlessgrid::RayVisit 
source · pub struct RayVisit<'a, T> {
    pub index: (i32, i32),
    pub cell: &'a T,
    pub pos: (f32, f32),
    pub d: f32,
}Expand description
Struct used by the Grid::cast_ray
Fields§
§index: (i32, i32)Current index of the cell being visited
cell: &'a TThe cell being visited
pos: (f32, f32)Current position of the ray
d: f32Auto Trait Implementations§
impl<'a, T> Freeze for RayVisit<'a, T>
impl<'a, T> RefUnwindSafe for RayVisit<'a, T>where
    T: RefUnwindSafe,
impl<'a, T> Send for RayVisit<'a, T>where
    T: Sync,
impl<'a, T> Sync for RayVisit<'a, T>where
    T: Sync,
impl<'a, T> Unpin for RayVisit<'a, T>
impl<'a, T> UnwindSafe for RayVisit<'a, T>where
    T: RefUnwindSafe,
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