pub struct DocumentSnapshot {Show 15 fields
pub document_url: i32,
pub title: i32,
pub base_url: i32,
pub content_language: i32,
pub encoding_name: i32,
pub public_id: i32,
pub system_id: i32,
pub frame_id: i32,
pub nodes: NodeTreeSnapshot,
pub layout: LayoutTreeSnapshot,
pub text_boxes: TextBoxSnapshot,
pub scroll_offset_x: Option<f64>,
pub scroll_offset_y: Option<f64>,
pub content_width: Option<f64>,
pub content_height: Option<f64>,
}Expand description
A document snapshot.
Fields§
§document_url: i32Document URL index into the strings array.
title: i32Document title index into the strings array.
base_url: i32Base URL index into the strings array.
content_language: i32Content language index into the strings array.
encoding_name: i32Encoding name index into the strings array.
public_id: i32Public ID index into the strings array.
system_id: i32System ID index into the strings array.
frame_id: i32Frame ID index into the strings array.
nodes: NodeTreeSnapshotNode tree snapshot.
layout: LayoutTreeSnapshotLayout tree snapshot.
text_boxes: TextBoxSnapshotText box snapshot.
scroll_offset_x: Option<f64>Scroll offset X.
scroll_offset_y: Option<f64>Scroll offset Y.
content_width: Option<f64>Document content width.
content_height: Option<f64>Document content height.
Trait Implementations§
Source§impl Clone for DocumentSnapshot
impl Clone for DocumentSnapshot
Source§fn clone(&self) -> DocumentSnapshot
fn clone(&self) -> DocumentSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DocumentSnapshot
impl Debug for DocumentSnapshot
Source§impl<'de> Deserialize<'de> for DocumentSnapshot
impl<'de> Deserialize<'de> for DocumentSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DocumentSnapshot
impl RefUnwindSafe for DocumentSnapshot
impl Send for DocumentSnapshot
impl Sync for DocumentSnapshot
impl Unpin for DocumentSnapshot
impl UnwindSafe for DocumentSnapshot
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