pub struct FocusParams {
pub node_id: Option<Box<NodeId>>,
pub backend_node_id: Option<Box<BackendNodeId>>,
pub object_id: Option<RemoteObjectId>,
}Expand description
Focuses the given element. focus
Fields§
§node_id: Option<Box<NodeId>>Identifier of the node.
backend_node_id: Option<Box<BackendNodeId>>Identifier of the backend node.
object_id: Option<RemoteObjectId>JavaScript object id of the node wrapper.
Trait Implementations§
Source§impl Clone for FocusParams
impl Clone for FocusParams
Source§fn clone(&self) -> FocusParams
fn clone(&self) -> FocusParams
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 Debug for FocusParams
impl Debug for FocusParams
Source§impl Default for FocusParams
impl Default for FocusParams
Source§fn default() -> FocusParams
fn default() -> FocusParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FocusParams
impl<'de> Deserialize<'de> for FocusParams
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
Source§impl PartialEq for FocusParams
impl PartialEq for FocusParams
Source§impl Serialize for FocusParams
impl Serialize for FocusParams
impl StructuralPartialEq for FocusParams
Auto Trait Implementations§
impl Freeze for FocusParams
impl RefUnwindSafe for FocusParams
impl Send for FocusParams
impl Sync for FocusParams
impl Unpin for FocusParams
impl UnsafeUnpin for FocusParams
impl UnwindSafe for FocusParams
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