pub struct CanvasInfo {
pub id: String,
pub layer: String,
pub name: String,
pub kind: String,
pub bounds: Rect,
pub tile_count: u64,
pub observed_pixels: f64,
pub fragment: u32,
pub attached_to: Option<String>,
pub presents: Option<String>,
}Expand description
One canvas of the result.
Fields§
§id: String§layer: StringThe region (layer) it belongs to.
name: StringThe stored name: the zh vocabulary the page persists (内容画布 1, 固定界面, …) whatever the run’s
language. RunResult::display_name gives it in the run’s language.
kind: Stringmoving (reconstructed content), fixed (screen-fixed interface) or presentation (a framed view).
bounds: RectWorld-coordinate bounds of what was painted.
tile_count: u64§observed_pixels: f64§fragment: u32Fragment number within its layer (0 is the main canvas).
attached_to: Option<String>Set when revisit evidence merged this fragment into another canvas (it then has no tiles).
presents: Option<String>For a framed presentation: the canvas it frames.
Trait Implementations§
Source§impl Clone for CanvasInfo
impl Clone for CanvasInfo
Source§impl Debug for CanvasInfo
impl Debug for CanvasInfo
Source§impl PartialEq for CanvasInfo
impl PartialEq for CanvasInfo
impl StructuralPartialEq for CanvasInfo
Auto Trait Implementations§
impl Freeze for CanvasInfo
impl RefUnwindSafe for CanvasInfo
impl Send for CanvasInfo
impl Sync for CanvasInfo
impl Unpin for CanvasInfo
impl UnsafeUnpin for CanvasInfo
impl UnwindSafe for CanvasInfo
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