pub struct Vote<'a> {
pub x0: i32,
pub y0: i32,
pub w: i32,
pub h: i32,
pub bits: &'a [u8],
pub clean: &'a [u8],
}Expand description
Packed analysis-resolution voting verdicts in region-local box coordinates.
Fields§
§x0: i32§y0: i32§w: i32§h: i32§bits: &'a [u8]Bit set: inconsistent.
clean: &'a [u8]Bit set: confidently consistent (only consulted when bits is clear).
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Vote<'a>
impl<'a> RefUnwindSafe for Vote<'a>
impl<'a> Send for Vote<'a>
impl<'a> Sync for Vote<'a>
impl<'a> Unpin for Vote<'a>
impl<'a> UnsafeUnpin for Vote<'a>
impl<'a> UnwindSafe for Vote<'a>
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