Struct headless_chrome::protocol::cdp::DOMSnapshot::LayoutTreeSnapshot
source · pub struct LayoutTreeSnapshot {
pub node_index: Vec<JsUInt>,
pub styles: Vec<ArrayOfStrings>,
pub bounds: Vec<Rectangle>,
pub text: Vec<StringIndex>,
pub stacking_contexts: RareBooleanData,
pub paint_orders: Option<Vec<JsUInt>>,
pub offset_rects: Option<Vec<Rectangle>>,
pub scroll_rects: Option<Vec<Rectangle>>,
pub client_rects: Option<Vec<Rectangle>>,
pub blended_background_colors: Option<Vec<StringIndex>>,
pub text_color_opacities: Option<Vec<JsFloat>>,
}Fields§
§node_index: Vec<JsUInt>§styles: Vec<ArrayOfStrings>§bounds: Vec<Rectangle>§text: Vec<StringIndex>§stacking_contexts: RareBooleanData§paint_orders: Option<Vec<JsUInt>>§offset_rects: Option<Vec<Rectangle>>§scroll_rects: Option<Vec<Rectangle>>§client_rects: Option<Vec<Rectangle>>§blended_background_colors: Option<Vec<StringIndex>>§text_color_opacities: Option<Vec<JsFloat>>Trait Implementations§
source§impl Clone for LayoutTreeSnapshot
impl Clone for LayoutTreeSnapshot
source§fn clone(&self) -> LayoutTreeSnapshot
fn clone(&self) -> LayoutTreeSnapshot
Returns a copy 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 LayoutTreeSnapshot
impl Debug for LayoutTreeSnapshot
source§impl<'de> Deserialize<'de> for LayoutTreeSnapshot
impl<'de> Deserialize<'de> for LayoutTreeSnapshot
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