struct ColTrace {
segs: Vec<ColSeg>,
next: i32,
t_in: f64,
ox: f64,
oy: f64,
dx: f64,
dy: f64,
}Expand description
Sectors crossed by a column’s ray (ox, oy) + t (dx, dy), found lazily: only as far
along as some pixel of the column actually reaches.
Fields§
§segs: Vec<ColSeg>§next: i32Next sector to enter and the ray parameter where it starts (-1 = finished).
t_in: f64§ox: f64§oy: f64§dx: f64§dy: f64Implementations§
Auto Trait Implementations§
impl Freeze for ColTrace
impl RefUnwindSafe for ColTrace
impl Send for ColTrace
impl Sync for ColTrace
impl Unpin for ColTrace
impl UnsafeUnpin for ColTrace
impl UnwindSafe for ColTrace
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more