pub struct LayerModel {
pub x: i64,
pub y: i64,
pub cw: usize,
pub ch: usize,
pub objects: Vec<Object>,
}Fields§
§x: i64§y: i64§cw: usize§ch: usize§objects: Vec<Object>Implementations§
Source§impl LayerModel
impl LayerModel
Sourcepub fn overlay_zone(&self) -> Vec<bool>
pub fn overlay_zone(&self) -> Vec<bool>
Cells inside any opaque object’s zone: the only place an overlay can fade or move, so the only place a still-changing pixel at the end of a static run is suspect (elsewhere it is page content still loading).
Trait Implementations§
Source§impl Clone for LayerModel
impl Clone for LayerModel
Auto Trait Implementations§
impl Freeze for LayerModel
impl RefUnwindSafe for LayerModel
impl Send for LayerModel
impl Sync for LayerModel
impl Unpin for LayerModel
impl UnsafeUnpin for LayerModel
impl UnwindSafe for LayerModel
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