logo
pub enum PopupWindowLocation {
    TopLevel(Rc<Window>),
    ChildWindow(Point),
}
Expand description

This enum describes the different ways a popup can be rendered by the back-end.

Variants

TopLevel(Rc<Window>)

The popup is rendered in its own top-level window that is know to the windowing system.

ChildWindow(Point)

The popup is rendered as an embedded child window at the given position.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.