Struct chrome_remote_interface_model::dom_snapshot::DocumentSnapshot [−][src]
This is supported on crate features
experimental and DOMSnapshot and CSS and DOM and DOMDebugger and Page only.Document snapshot.
Implementations
impl DocumentSnapshot[src]
pub fn builder() -> DocumentSnapshotBuilder[src]
pub fn document_url(&self) -> &StringIndex[src]
Document URL that Document or FrameOwner node points to.
pub fn title(&self) -> &StringIndex[src]
Document title.
pub fn base_url(&self) -> &StringIndex[src]
Base URL that Document or FrameOwner node uses for URL completion.
pub fn content_language(&self) -> &StringIndex[src]
Contains the document's content language.
pub fn encoding_name(&self) -> &StringIndex[src]
Contains the document's character set encoding.
pub fn public_id(&self) -> &StringIndex[src]
DocumentType node's publicId.
pub fn system_id(&self) -> &StringIndex[src]
DocumentType node's systemId.
pub fn frame_id(&self) -> &StringIndex[src]
Frame ID for frame owner elements and also for the document node.
pub fn nodes(&self) -> &NodeTreeSnapshot[src]
A table with dom nodes.
pub fn layout(&self) -> &LayoutTreeSnapshot[src]
The nodes in the layout tree.
pub fn text_boxes(&self) -> &TextBoxSnapshot[src]
The post-layout inline text nodes.
pub fn scroll_offset_x(&self) -> Option<&f64>[src]
Horizontal scroll offset.
pub fn scroll_offset_y(&self) -> Option<&f64>[src]
Vertical scroll offset.
pub fn content_width(&self) -> Option<&f64>[src]
Document content width.
pub fn content_height(&self) -> Option<&f64>[src]
Document content height.
Trait Implementations
impl Clone for DocumentSnapshot[src]
fn clone(&self) -> DocumentSnapshot[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DocumentSnapshot[src]
impl<'de> Deserialize<'de> for DocumentSnapshot[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for DocumentSnapshot[src]
Auto Trait Implementations
impl RefUnwindSafe for DocumentSnapshot[src]
impl Send for DocumentSnapshot[src]
impl Sync for DocumentSnapshot[src]
impl Unpin for DocumentSnapshot[src]
impl UnwindSafe for DocumentSnapshot[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
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>,