pub struct ForceShowInterestParams {
pub node_id: NodeId,
pub enable: bool,
}Expand description
When enabling, this API forces an element to gain interest in its target, keeping interest active until disabled.
Experimental: may change without notice.
Parameters of DOM.forceShowInterest.
Fields§
§node_id: NodeIdId of the interest invoker HTMLElement.
enable: boolIf true, opens and holds interest. If false, releases forced interest.
Trait Implementations§
Source§impl Clone for ForceShowInterestParams
impl Clone for ForceShowInterestParams
Source§impl Command for ForceShowInterestParams
impl Command for ForceShowInterestParams
Source§impl Debug for ForceShowInterestParams
impl Debug for ForceShowInterestParams
Source§impl Default for ForceShowInterestParams
impl Default for ForceShowInterestParams
Source§impl<'de> Deserialize<'de> for ForceShowInterestParams
impl<'de> Deserialize<'de> for ForceShowInterestParams
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 ForceShowInterestParams
impl PartialEq for ForceShowInterestParams
Source§impl Serialize for ForceShowInterestParams
impl Serialize for ForceShowInterestParams
impl StructuralPartialEq for ForceShowInterestParams
Auto Trait Implementations§
impl Forget for ForceShowInterestParams
impl Freeze for ForceShowInterestParams
impl RefUnwindSafe for ForceShowInterestParams
impl Send for ForceShowInterestParams
impl Sync for ForceShowInterestParams
impl Unpin for ForceShowInterestParams
impl UnsafeUnpin for ForceShowInterestParams
impl UnwindSafe for ForceShowInterestParams
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