#[non_exhaustive]pub struct Frame {
pub png: Vec<u8>,
pub hits: HitMap,
pub host: HostProjection,
pub tooltip_png: Option<Vec<u8>>,
pub viewed: Grid,
pub content_width: u32,
pub content_height: u32,
pub visible_row_start: u32,
pub visible_row_end: u32,
}Expand description
One painted frame plus the host leak surface.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.png: Vec<u8>PNG bytes (image/png).
hits: HitMapHit index in the same pixel space as png (visible cells only).
host: HostProjectionStrings the host may emit. Empty of cell values when sealed.
tooltip_png: Option<Vec<u8>>Tooltip PNG when pointer hit a data cell. Never a JSON value.
viewed: GridGrid after the lens (redacted cells have no original scalars).
content_width: u32Full table width (scrollbars). Independent of the viewport.
content_height: u32Full table height (scrollbars). Independent of the viewport.
visible_row_start: u32First visible data-row index (viewed grid).
visible_row_end: u32Exclusive end of visible data-row indices.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Frame
impl Freeze for Frame
impl Move for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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