pub struct FixedMaskInput<'a> {
pub rgba: &'a [u8],
pub labels: &'a [u8],
pub width: usize,
pub height: usize,
pub region: Rect,
pub code: u8,
pub prev: Option<&'a [u8]>,
pub next: Option<&'a [u8]>,
pub noise: f64,
}Expand description
One placement of a screen-fixed region and the neighbouring frames’ pixels (frame-sized RGBA, None when that frame
is not in hand or did not place the region).
Fields§
§rgba: &'a [u8]§labels: &'a [u8]§width: usize§height: usize§region: Rect§code: u8§prev: Option<&'a [u8]>§next: Option<&'a [u8]>§noise: f64Auto Trait Implementations§
impl<'a> Freeze for FixedMaskInput<'a>
impl<'a> RefUnwindSafe for FixedMaskInput<'a>
impl<'a> Send for FixedMaskInput<'a>
impl<'a> Sync for FixedMaskInput<'a>
impl<'a> Unpin for FixedMaskInput<'a>
impl<'a> UnsafeUnpin for FixedMaskInput<'a>
impl<'a> UnwindSafe for FixedMaskInput<'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