#[repr(u32)]pub enum PopupClosePolicy {
CloseOnClick = 0,
CloseOnClickOutside = 1,
NoAutoClose = 2,
}
Variants§
CloseOnClick = 0
Closes the PopupWindow
when user clicks or presses the escape key.
CloseOnClickOutside = 1
Closes the PopupWindow
when user clicks outside of the popup or presses the escape key.
NoAutoClose = 2
Does not close the PopupWindow
automatically when user clicks.
Trait Implementations§
Source§impl Clone for PopupClosePolicy
impl Clone for PopupClosePolicy
Source§fn clone(&self) -> PopupClosePolicy
fn clone(&self) -> PopupClosePolicy
Returns a copy 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 PopupClosePolicy
impl Debug for PopupClosePolicy
Source§impl Default for PopupClosePolicy
impl Default for PopupClosePolicy
Source§impl Display for PopupClosePolicy
impl Display for PopupClosePolicy
Source§impl FromStr for PopupClosePolicy
impl FromStr for PopupClosePolicy
Source§impl Hash for PopupClosePolicy
impl Hash for PopupClosePolicy
Source§impl PartialEq for PopupClosePolicy
impl PartialEq for PopupClosePolicy
Source§impl TryFrom<&str> for PopupClosePolicy
impl TryFrom<&str> for PopupClosePolicy
impl Copy for PopupClosePolicy
impl Eq for PopupClosePolicy
impl StructuralPartialEq for PopupClosePolicy
Auto Trait Implementations§
impl Freeze for PopupClosePolicy
impl RefUnwindSafe for PopupClosePolicy
impl Send for PopupClosePolicy
impl Sync for PopupClosePolicy
impl Unpin for PopupClosePolicy
impl UnwindSafe for PopupClosePolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Converts the given value to a
SharedString
.