Struct chrome_remote_interface_model::dom_snapshot::LayoutTreeSnapshotBuilder [−][src]
experimental
and DOMSnapshot
and CSS
and DOM
and DOMDebugger
and Page
only.Implementations
impl LayoutTreeSnapshotBuilder
[src]
pub fn node_index(&mut self, v: Vec<u32>) -> &mut Self
[src]
Index of the corresponding node in the NodeTreeSnapshot
array returned by captureSnapshot
.
pub fn styles(&mut self, v: Vec<ArrayOfStrings>) -> &mut Self
[src]
Array of indexes specifying computed style strings, filtered according to the computedStyles
parameter passed to captureSnapshot
.
pub fn bounds(&mut self, v: Vec<Rectangle>) -> &mut Self
[src]
The absolute position bounding box.
pub fn text(&mut self, v: Vec<StringIndex>) -> &mut Self
[src]
Contents of the LayoutText, if any.
pub fn stacking_contexts(&mut self, v: RareBooleanData) -> &mut Self
[src]
Stacking context information.
pub fn paint_orders(&mut self, v: Vec<u32>) -> &mut Self
[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(&mut self, v: Vec<Rectangle>) -> &mut Self
[src]
The offset rect of nodes. Only available when includeDOMRects is set to true
pub fn scroll_rects(&mut self, v: Vec<Rectangle>) -> &mut Self
[src]
The scroll rect of nodes. Only available when includeDOMRects is set to true
pub fn client_rects(&mut self, v: Vec<Rectangle>) -> &mut Self
[src]
The client rect of nodes. Only available when includeDOMRects is set to true
pub fn build(&mut self) -> Result<LayoutTreeSnapshot, &'static str>
[src]
Trait Implementations
impl Clone for LayoutTreeSnapshotBuilder
[src]
fn clone(&self) -> LayoutTreeSnapshotBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LayoutTreeSnapshotBuilder
[src]
impl Default for LayoutTreeSnapshotBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for LayoutTreeSnapshotBuilder
[src]
impl Send for LayoutTreeSnapshotBuilder
[src]
impl Sync for LayoutTreeSnapshotBuilder
[src]
impl Unpin for LayoutTreeSnapshotBuilder
[src]
impl UnwindSafe for LayoutTreeSnapshotBuilder
[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>,