Struct chrome_remote_interface_model::dom_snapshot::DocumentSnapshotBuilder [−][src]
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]
fn clone(&self) -> DocumentSnapshotBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DocumentSnapshotBuilder
[src]
impl Default for DocumentSnapshotBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for DocumentSnapshotBuilder
[src]
impl Send for DocumentSnapshotBuilder
[src]
impl Sync for DocumentSnapshotBuilder
[src]
impl Unpin for DocumentSnapshotBuilder
[src]
impl UnwindSafe for DocumentSnapshotBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,