Struct chrome_remote_interface_model::dom::ScrollIntoViewIfNeededCommandBuilder[][src]

pub struct ScrollIntoViewIfNeededCommandBuilder { /* fields omitted */ }

Implementations

impl ScrollIntoViewIfNeededCommandBuilder[src]

pub fn node_id(&mut self, v: NodeId) -> &mut Self[src]

Identifier of the node.

pub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self[src]

Identifier of the backend node.

pub fn object_id(&mut self, v: RemoteObjectId) -> &mut Self[src]

JavaScript object id of the node wrapper.

pub fn rect(&mut self, v: Rect) -> &mut Self[src]

The rect to be scrolled into view, relative to the node's border box, in CSS pixels. When omitted, center of the node will be used, similar to Element.scrollIntoView.

pub fn build(&mut self) -> Result<ScrollIntoViewIfNeededCommand, &'static str>[src]

Trait Implementations

impl Clone for ScrollIntoViewIfNeededCommandBuilder[src]

impl Debug for ScrollIntoViewIfNeededCommandBuilder[src]

impl Default for ScrollIntoViewIfNeededCommandBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.