pub struct ForceShowPopoverParams {
pub nodeId: NodeId,
pub enable: bool,
}Expand description
When enabling, this API force-opens the popover identified by nodeId and keeps it open until disabled.
Fields§
§nodeId: 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.
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 Debug for ForceShowPopoverParams
impl Debug for ForceShowPopoverParams
Source§impl Default for ForceShowPopoverParams
impl Default for ForceShowPopoverParams
Source§fn default() -> ForceShowPopoverParams
fn default() -> ForceShowPopoverParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ForceShowPopoverParams
impl<'de> Deserialize<'de> for ForceShowPopoverParams
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 Freeze for ForceShowPopoverParams
impl RefUnwindSafe for ForceShowPopoverParams
impl Send for ForceShowPopoverParams
impl Sync for ForceShowPopoverParams
impl Unpin for ForceShowPopoverParams
impl UnsafeUnpin 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