pub struct ForceShowPopoverParams {
pub node_id: NodeId,
pub enable: bool,
}Expand description
When enabling, this API force-opens the popover identified by nodeId and keeps it open until disabled. forceShowPopover
Fields§
§node_id: NodeIdId of the popover HTMLElement
enable: boolIf true, opens the popover and keeps it open. If false, closes the popover if it was previously force-opened.
Implementations§
Source§impl ForceShowPopoverParams
impl ForceShowPopoverParams
pub fn builder() -> ForceShowPopoverParamsBuilder
Source§impl ForceShowPopoverParams
impl ForceShowPopoverParams
pub const IDENTIFIER: &'static str = "DOM.forceShowPopover"
Trait Implementations§
Source§impl Clone for ForceShowPopoverParams
impl Clone for ForceShowPopoverParams
Source§fn clone(&self) -> ForceShowPopoverParams
fn clone(&self) -> ForceShowPopoverParams
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 Command for ForceShowPopoverParams
impl Command for ForceShowPopoverParams
Source§impl Debug for ForceShowPopoverParams
impl Debug for ForceShowPopoverParams
Source§impl<'de> Deserialize<'de> for ForceShowPopoverParams
impl<'de> Deserialize<'de> for ForceShowPopoverParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForceShowPopoverParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ForceShowPopoverParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for ForceShowPopoverParams
impl Method for ForceShowPopoverParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for ForceShowPopoverParams
impl MethodType for ForceShowPopoverParams
Source§impl PartialEq for ForceShowPopoverParams
impl PartialEq for ForceShowPopoverParams
Source§impl Serialize for ForceShowPopoverParams
impl Serialize for ForceShowPopoverParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ForceShowPopoverParams
Auto Trait Implementations§
impl Freeze for ForceShowPopoverParams
impl RefUnwindSafe for ForceShowPopoverParams
impl Send for ForceShowPopoverParams
impl Sync for ForceShowPopoverParams
impl Unpin for ForceShowPopoverParams
impl UnwindSafe for ForceShowPopoverParams
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