pub struct ConsistencyVote {
pub x0: i32,
pub y0: i32,
pub w: i32,
pub h: i32,
pub bits: Vec<u8>,
pub clean: Vec<u8>,
}Expand description
Solve’s displacement-spread verdict for one region of one frame (consistency/<frame>, docs/ARCHITECTURE.md §七):
the analysis-resolution box it scored and two bitsets over it, LSB first — cells found inconsistent, cells found
confidently consistent.
Fields§
§x0: i32§y0: i32§w: i32§h: i32§bits: Vec<u8>§clean: Vec<u8>Trait Implementations§
Source§impl Clone for ConsistencyVote
impl Clone for ConsistencyVote
Source§impl Debug for ConsistencyVote
impl Debug for ConsistencyVote
Source§impl PartialEq for ConsistencyVote
impl PartialEq for ConsistencyVote
impl StructuralPartialEq for ConsistencyVote
Auto Trait Implementations§
impl Freeze for ConsistencyVote
impl RefUnwindSafe for ConsistencyVote
impl Send for ConsistencyVote
impl Sync for ConsistencyVote
impl Unpin for ConsistencyVote
impl UnsafeUnpin for ConsistencyVote
impl UnwindSafe for ConsistencyVote
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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