Struct chrome_remote_interface_model::dom_snapshot::LayoutTreeNodeBuilder [−][src]
This is supported on crate features
experimental and DOMSnapshot and CSS and DOM and DOMDebugger and Page only.Implementations
impl LayoutTreeNodeBuilder[src]
pub fn dom_node_index(&mut self, v: u32) -> &mut Self[src]
The index of the related DOM node in the domNodes array returned by getSnapshot.
pub fn bounding_box(&mut self, v: Rect) -> &mut Self[src]
The bounding box in document coordinates. Note that scroll offset of the document is ignored.
pub fn layout_text(&mut self, v: String) -> &mut Self[src]
Contents of the LayoutText, if any.
pub fn inline_text_nodes(&mut self, v: Vec<InlineTextBox>) -> &mut Self[src]
The post-layout inline text nodes, if any.
pub fn style_index(&mut self, v: u32) -> &mut Self[src]
Index into the computedStyles array returned by getSnapshot.
pub fn paint_order(&mut self, v: 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 getSnapshot was true.
pub fn is_stacking_context(&mut self, v: bool) -> &mut Self[src]
Set to true to indicate the element begins a new stacking context.
pub fn build(&mut self) -> Result<LayoutTreeNode, &'static str>[src]
Trait Implementations
impl Clone for LayoutTreeNodeBuilder[src]
fn clone(&self) -> LayoutTreeNodeBuilder[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for LayoutTreeNodeBuilder[src]
impl Default for LayoutTreeNodeBuilder[src]
Auto Trait Implementations
impl RefUnwindSafe for LayoutTreeNodeBuilder[src]
impl Send for LayoutTreeNodeBuilder[src]
impl Sync for LayoutTreeNodeBuilder[src]
impl Unpin for LayoutTreeNodeBuilder[src]
impl UnwindSafe for LayoutTreeNodeBuilder[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>,