Struct cdp::dom_snapshot::LayoutTreeNode [] [src]

pub struct LayoutTreeNode<'a> {
    pub dom_node_index: i32,
    pub bounding_box: Rect,
    pub layout_text: Option<Cow<'a, str>>,
    pub inline_text_nodes: Option<Vec<InlineTextBox>>,
    pub style_index: Option<i32>,
}

[Experimental] Details of an element in the DOM tree with a LayoutObject.

Fields

The index of the related DOM node in the domNodes array returned by getSnapshot.

The absolute position bounding box.

Contents of the LayoutText, if any.

The post-layout inline text nodes, if any.

Index into the computedStyles array returned by getSnapshot.

Trait Implementations

impl<'a> Clone for LayoutTreeNode<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for LayoutTreeNode<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for LayoutTreeNode<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.