pub struct ForceShowPopoverBuilder { /* private fields */ }Expand description
Builder for ForceShowPopover.
Implementations§
Source§impl ForceShowPopoverBuilder
impl ForceShowPopoverBuilder
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Id of the popover HTMLElement
Sourcepub fn enable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn enable<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, opens the popover and keeps it open. If false, closes the popover if it was previously force-opened.
Sourcepub fn build(&self) -> Result<ForceShowPopover, ForceShowPopoverBuilderError>
pub fn build(&self) -> Result<ForceShowPopover, ForceShowPopoverBuilderError>
Trait Implementations§
Source§impl Clone for ForceShowPopoverBuilder
impl Clone for ForceShowPopoverBuilder
Source§fn clone(&self) -> ForceShowPopoverBuilder
fn clone(&self) -> ForceShowPopoverBuilder
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 moreAuto Trait Implementations§
impl Freeze for ForceShowPopoverBuilder
impl RefUnwindSafe for ForceShowPopoverBuilder
impl Send for ForceShowPopoverBuilder
impl Sync for ForceShowPopoverBuilder
impl Unpin for ForceShowPopoverBuilder
impl UnsafeUnpin for ForceShowPopoverBuilder
impl UnwindSafe for ForceShowPopoverBuilder
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