pub struct CanvasMeta {
pub bounds: Rect,
pub tile_count: f64,
pub observed_pixels: f64,
pub uncertain_pixels: f64,
pub conflict_pixels: f64,
pub provisional_pixels: f64,
pub last_time: f64,
}Expand description
The fields of a canvas’s stored metadata (canvas/<id>) the render pass updates; the host keeps the rest of the
row and writes these back into it.
Fields§
§bounds: Rect§tile_count: f64§observed_pixels: f64§uncertain_pixels: f64§conflict_pixels: f64§provisional_pixels: f64§last_time: f64Trait Implementations§
Source§impl Clone for CanvasMeta
impl Clone for CanvasMeta
impl Copy for CanvasMeta
Source§impl Debug for CanvasMeta
impl Debug for CanvasMeta
Source§impl PartialEq for CanvasMeta
impl PartialEq for CanvasMeta
impl StructuralPartialEq for CanvasMeta
Auto Trait Implementations§
impl Freeze for CanvasMeta
impl RefUnwindSafe for CanvasMeta
impl Send for CanvasMeta
impl Sync for CanvasMeta
impl Unpin for CanvasMeta
impl UnsafeUnpin for CanvasMeta
impl UnwindSafe for CanvasMeta
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