Struct chrome_remote_interface_model::dom::ScrollIntoViewIfNeededCommandBuilder [−][src]
This is supported on crate features
DOM
and Runtime
and experimental
only.Implementations
impl ScrollIntoViewIfNeededCommandBuilder
[src]
pub fn node_id(&mut self, v: NodeId) -> &mut Self
[src]
Identifier of the node.
pub fn backend_node_id(&mut self, v: BackendNodeId) -> &mut Self
[src]
Identifier of the backend node.
pub fn object_id(&mut self, v: RemoteObjectId) -> &mut Self
[src]
JavaScript object id of the node wrapper.
pub fn rect(&mut self, v: Rect) -> &mut Self
[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.
pub fn build(&mut self) -> Result<ScrollIntoViewIfNeededCommand, &'static str>
[src]
Trait Implementations
impl Clone for ScrollIntoViewIfNeededCommandBuilder
[src]
fn clone(&self) -> ScrollIntoViewIfNeededCommandBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScrollIntoViewIfNeededCommandBuilder
[src]
impl Default for ScrollIntoViewIfNeededCommandBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollIntoViewIfNeededCommandBuilder
[src]
impl Send for ScrollIntoViewIfNeededCommandBuilder
[src]
impl Sync for ScrollIntoViewIfNeededCommandBuilder
[src]
impl Unpin for ScrollIntoViewIfNeededCommandBuilder
[src]
impl UnwindSafe for ScrollIntoViewIfNeededCommandBuilder
[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> 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>,