pub enum PopupWindowLocation {
TopLevel(Rc<dyn WindowAdapter>),
ChildWindow(LogicalPoint),
}
Expand description
This enum describes the different ways a popup can be rendered by the back-end.
Variants§
TopLevel(Rc<dyn WindowAdapter>)
The popup is rendered in its own top-level window that is know to the windowing system.
ChildWindow(LogicalPoint)
The popup is rendered as an embedded child window at the given position.
Trait Implementations§
Source§impl Clone for PopupWindowLocation
impl Clone for PopupWindowLocation
Source§fn clone(&self) -> PopupWindowLocation
fn clone(&self) -> PopupWindowLocation
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 moreAuto Trait Implementations§
impl Freeze for PopupWindowLocation
impl !RefUnwindSafe for PopupWindowLocation
impl !Send for PopupWindowLocation
impl !Sync for PopupWindowLocation
impl Unpin for PopupWindowLocation
impl !UnwindSafe for PopupWindowLocation
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