Struct chrome_remote_interface_model::dom::ScrollIntoViewIfNeededCommand [−][src]
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]
fn clone(&self) -> ScrollIntoViewIfNeededCommand
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Command for ScrollIntoViewIfNeededCommand
[src]
type Return = ScrollIntoViewIfNeededReturn
Return type.
const METHOD: &'static str
[src]
fn into_request(self, session_id: Option<SessionId>, id: u32) -> Request<Self> where
Self: Sized,
[src]
Self: Sized,
impl Debug for ScrollIntoViewIfNeededCommand
[src]
impl<'de> Deserialize<'de> for ScrollIntoViewIfNeededCommand
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for ScrollIntoViewIfNeededCommand
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollIntoViewIfNeededCommand
[src]
impl Send for ScrollIntoViewIfNeededCommand
[src]
impl Sync for ScrollIntoViewIfNeededCommand
[src]
impl Unpin for ScrollIntoViewIfNeededCommand
[src]
impl UnwindSafe for ScrollIntoViewIfNeededCommand
[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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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>,