pub struct RegionSlot {
pub region: Region,
pub box_: Box,
pub dmin: f64,
pub interior: Vec<u8>,
pub inside: Vec<u8>,
}Expand description
Per-run, per-moving-region constants.
Fields§
§region: Region§box_: Box§dmin: f64§interior: Vec<u8>1 where the cell and its eight blur taps are inside the region and the search window fits the box.
inside: Vec<u8>1 where the box cell maps to an in-frame analysis cell inside the region (the blur-tap test), constant
for the run; box_gray reads this instead of re-evaluating region membership nine times per cell.
Auto Trait Implementations§
impl Freeze for RegionSlot
impl RefUnwindSafe for RegionSlot
impl Send for RegionSlot
impl Sync for RegionSlot
impl Unpin for RegionSlot
impl UnsafeUnpin for RegionSlot
impl UnwindSafe for RegionSlot
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