Struct chromiumoxide::cdp::browser_protocol::dom::ScrollIntoViewIfNeededParams[][src]

pub struct ScrollIntoViewIfNeededParams {
    pub node_id: Option<NodeId>,
    pub backend_node_id: Option<BackendNodeId>,
    pub object_id: Option<RemoteObjectId>,
    pub rect: Option<Rect>,
}

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. scrollIntoViewIfNeeded

Fields

node_id: Option<NodeId>

Identifier of the node.

backend_node_id: Option<BackendNodeId>

Identifier of the backend node.

object_id: Option<RemoteObjectId>

JavaScript object id of the node wrapper.

rect: Option<Rect>

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.

Implementations

impl ScrollIntoViewIfNeededParams[src]

impl ScrollIntoViewIfNeededParams[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for ScrollIntoViewIfNeededParams[src]

impl Command for ScrollIntoViewIfNeededParams[src]

type Response = ScrollIntoViewIfNeededReturns

The type of the response this request triggers on the chromium server

impl Debug for ScrollIntoViewIfNeededParams[src]

impl Default for ScrollIntoViewIfNeededParams[src]

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

impl Method for ScrollIntoViewIfNeededParams[src]

impl MethodType for ScrollIntoViewIfNeededParams[src]

impl PartialEq<ScrollIntoViewIfNeededParams> for ScrollIntoViewIfNeededParams[src]

impl Serialize for ScrollIntoViewIfNeededParams[src]

impl StructuralPartialEq for ScrollIntoViewIfNeededParams[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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,