Struct chrome_remote_interface_model::dom_snapshot::LayoutTreeSnapshot [−][src]
experimental and DOMSnapshot and CSS and DOM and DOMDebugger and Page only.Table of details of an element in the DOM tree with a LayoutObject.
Implementations
impl LayoutTreeSnapshot[src]
pub fn builder() -> LayoutTreeSnapshotBuilder[src]
pub fn node_index(&self) -> &[u32]ⓘ[src]
Index of the corresponding node in the NodeTreeSnapshot array returned by captureSnapshot.
pub fn styles(&self) -> &[ArrayOfStrings]ⓘ[src]
Array of indexes specifying computed style strings, filtered according to the computedStyles parameter passed to captureSnapshot.
pub fn bounds(&self) -> &[Rectangle]ⓘ[src]
The absolute position bounding box.
pub fn text(&self) -> &[StringIndex]ⓘ[src]
Contents of the LayoutText, if any.
pub fn stacking_contexts(&self) -> &RareBooleanData[src]
Stacking context information.
pub fn paint_orders(&self) -> Option<&Vec<u32>>[src]
Global paint order index, which is determined by the stacking order of the nodes. Nodes that are painted together will have the same index. Only provided if includePaintOrder in captureSnapshot was true.
pub fn offset_rects(&self) -> Option<&Vec<Rectangle>>[src]
The offset rect of nodes. Only available when includeDOMRects is set to true
pub fn scroll_rects(&self) -> Option<&Vec<Rectangle>>[src]
The scroll rect of nodes. Only available when includeDOMRects is set to true
pub fn client_rects(&self) -> Option<&Vec<Rectangle>>[src]
The client rect of nodes. Only available when includeDOMRects is set to true
Trait Implementations
impl Clone for LayoutTreeSnapshot[src]
fn clone(&self) -> LayoutTreeSnapshot[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LayoutTreeSnapshot[src]
impl<'de> Deserialize<'de> for LayoutTreeSnapshot[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Serialize for LayoutTreeSnapshot[src]
Auto Trait Implementations
impl RefUnwindSafe for LayoutTreeSnapshot[src]
impl Send for LayoutTreeSnapshot[src]
impl Sync for LayoutTreeSnapshot[src]
impl Unpin for LayoutTreeSnapshot[src]
impl UnwindSafe for LayoutTreeSnapshot[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>,