pub struct ScrollIntoViewIfNeededCommand { /* private fields */ }Available on crate features
DOM and Runtime and experimental only.Expand description
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§
Source§impl ScrollIntoViewIfNeededCommand
impl ScrollIntoViewIfNeededCommand
pub fn builder() -> ScrollIntoViewIfNeededCommandBuilder
Sourcepub fn backend_node_id(&self) -> Option<&BackendNodeId>
pub fn backend_node_id(&self) -> Option<&BackendNodeId>
Identifier of the backend node.
Sourcepub fn object_id(&self) -> Option<&RemoteObjectId>
pub fn object_id(&self) -> Option<&RemoteObjectId>
JavaScript object id of the node wrapper.
Trait Implementations§
Source§impl Clone for ScrollIntoViewIfNeededCommand
impl Clone for ScrollIntoViewIfNeededCommand
Source§fn clone(&self) -> ScrollIntoViewIfNeededCommand
fn clone(&self) -> ScrollIntoViewIfNeededCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ScrollIntoViewIfNeededCommand
impl<'de> Deserialize<'de> for ScrollIntoViewIfNeededCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScrollIntoViewIfNeededCommand
impl RefUnwindSafe for ScrollIntoViewIfNeededCommand
impl Send for ScrollIntoViewIfNeededCommand
impl Sync for ScrollIntoViewIfNeededCommand
impl Unpin for ScrollIntoViewIfNeededCommand
impl UnwindSafe for ScrollIntoViewIfNeededCommand
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more