Struct chrome_remote_interface_model::dom_snapshot::DocumentSnapshotBuilder[][src]

pub struct DocumentSnapshotBuilder { /* fields omitted */ }
This is supported on crate features experimental and DOMSnapshot and CSS and DOM and DOMDebugger and Page only.

Implementations

impl DocumentSnapshotBuilder[src]

pub fn document_url(&mut self, v: StringIndex) -> &mut Self[src]

Document URL that Document or FrameOwner node points to.

pub fn title(&mut self, v: StringIndex) -> &mut Self[src]

Document title.

pub fn base_url(&mut self, v: StringIndex) -> &mut Self[src]

Base URL that Document or FrameOwner node uses for URL completion.

pub fn content_language(&mut self, v: StringIndex) -> &mut Self[src]

Contains the document's content language.

pub fn encoding_name(&mut self, v: StringIndex) -> &mut Self[src]

Contains the document's character set encoding.

pub fn public_id(&mut self, v: StringIndex) -> &mut Self[src]

DocumentType node's publicId.

pub fn system_id(&mut self, v: StringIndex) -> &mut Self[src]

DocumentType node's systemId.

pub fn frame_id(&mut self, v: StringIndex) -> &mut Self[src]

Frame ID for frame owner elements and also for the document node.

pub fn nodes(&mut self, v: NodeTreeSnapshot) -> &mut Self[src]

A table with dom nodes.

pub fn layout(&mut self, v: LayoutTreeSnapshot) -> &mut Self[src]

The nodes in the layout tree.

pub fn text_boxes(&mut self, v: TextBoxSnapshot) -> &mut Self[src]

The post-layout inline text nodes.

pub fn scroll_offset_x(&mut self, v: f64) -> &mut Self[src]

Horizontal scroll offset.

pub fn scroll_offset_y(&mut self, v: f64) -> &mut Self[src]

Vertical scroll offset.

pub fn content_width(&mut self, v: f64) -> &mut Self[src]

Document content width.

pub fn content_height(&mut self, v: f64) -> &mut Self[src]

Document content height.

pub fn build(&mut self) -> Result<DocumentSnapshot, &'static str>[src]

Trait Implementations

impl Clone for DocumentSnapshotBuilder[src]

impl Debug for DocumentSnapshotBuilder[src]

impl Default for DocumentSnapshotBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.