pub struct PopoverState {
pub open: bool,
}Expand description
persistent popover visibility
Fields§
§open: boolImplementations§
Source§impl PopoverState
impl PopoverState
Sourcepub fn new() -> Self
pub fn new() -> Self
creates a new PopoverState
Sourcepub fn open(self, value: bool) -> Self
pub fn open(self, value: bool) -> Self
sets Self::open
Trait Implementations§
Source§impl Debug for PopoverState
impl Debug for PopoverState
Auto Trait Implementations§
impl Forget for PopoverState
impl Freeze for PopoverState
impl Move for PopoverState
impl RefUnwindSafe for PopoverState
impl Send for PopoverState
impl Sync for PopoverState
impl Unpin for PopoverState
impl UnsafeUnpin for PopoverState
impl UnwindSafe for PopoverState
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