Struct chrome_remote_interface_model::dom::ScrollIntoViewIfNeededCommand[][src]

pub struct ScrollIntoViewIfNeededCommand { /* fields omitted */ }

Scrolls the specified rect of the given node into view if not already visible. Note: exactly one between nodeId, backendNodeId and objectId should be passed to identify the node.

Implementations

impl ScrollIntoViewIfNeededCommand[src]

pub fn builder() -> ScrollIntoViewIfNeededCommandBuilder[src]

pub fn node_id(&self) -> Option<&NodeId>[src]

Identifier of the node.

pub fn backend_node_id(&self) -> Option<&BackendNodeId>[src]

Identifier of the backend node.

pub fn object_id(&self) -> Option<&RemoteObjectId>[src]

JavaScript object id of the node wrapper.

pub fn rect(&self) -> Option<&Rect>[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.

Trait Implementations

impl Clone for ScrollIntoViewIfNeededCommand[src]

impl Command for ScrollIntoViewIfNeededCommand[src]

type Return = ScrollIntoViewIfNeededReturn

Return type.

impl Debug for ScrollIntoViewIfNeededCommand[src]

impl<'de> Deserialize<'de> for ScrollIntoViewIfNeededCommand[src]

impl Serialize for ScrollIntoViewIfNeededCommand[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.