pub struct ScrollIntoViewIfNeededParams<'a> { /* private fields */ }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<'a> ScrollIntoViewIfNeededParams<'a>
impl<'a> ScrollIntoViewIfNeededParams<'a>
pub fn builder() -> ScrollIntoViewIfNeededParamsBuilder<'a>
pub fn nodeId(&self) -> Option<&NodeId>
pub fn backendNodeId(&self) -> Option<&BackendNodeId>
pub fn objectId(&self) -> Option<&RemoteObjectId<'a>>
pub fn rect(&self) -> Option<&Rect>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for ScrollIntoViewIfNeededParams<'a>
impl<'a> CdpCommand<'a> for ScrollIntoViewIfNeededParams<'a>
Source§impl<'a> Clone for ScrollIntoViewIfNeededParams<'a>
impl<'a> Clone for ScrollIntoViewIfNeededParams<'a>
Source§fn clone(&self) -> ScrollIntoViewIfNeededParams<'a>
fn clone(&self) -> ScrollIntoViewIfNeededParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for ScrollIntoViewIfNeededParams<'a>
impl<'a> Debug for ScrollIntoViewIfNeededParams<'a>
Source§impl<'a> Default for ScrollIntoViewIfNeededParams<'a>
impl<'a> Default for ScrollIntoViewIfNeededParams<'a>
Source§fn default() -> ScrollIntoViewIfNeededParams<'a>
fn default() -> ScrollIntoViewIfNeededParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for ScrollIntoViewIfNeededParams<'a>
impl<'de, 'a> Deserialize<'de> for ScrollIntoViewIfNeededParams<'a>
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<'a> Freeze for ScrollIntoViewIfNeededParams<'a>
impl<'a> RefUnwindSafe for ScrollIntoViewIfNeededParams<'a>
impl<'a> Send for ScrollIntoViewIfNeededParams<'a>
impl<'a> Sync for ScrollIntoViewIfNeededParams<'a>
impl<'a> Unpin for ScrollIntoViewIfNeededParams<'a>
impl<'a> UnsafeUnpin for ScrollIntoViewIfNeededParams<'a>
impl<'a> UnwindSafe for ScrollIntoViewIfNeededParams<'a>
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