Enum droom_ui::dialog::DialogPos
[−]
[src]
pub enum DialogPos { At(i32), Current, Center, CenterParent, MousePos, Left, Right, Top, Bottom, }
The position a dialog should be positioned.
Variants
At(i32)
Positions the element at the specified coordinate.
Current
Use the current position of the dialog. Not valid for menus. This should be used most of the time.
Center
Centers the element on the screen
CenterParent
Centralizes the dialog relative to its parent.
MousePos
Positions the element on the mouse cursor.
Left
Positions the element on the left corner of the screen. Valid only for the x axis.
Right
Positions the element on the right corner of the screen. Valid only for the x axis.
Top
Positions the element on the top of the screen. Valid only for the y axis.
Bottom
Positions the element on the bottom of the screen. Valid only for the y axis.
Trait Implementations
impl Debug for DialogPos
[src]
impl Copy for DialogPos
[src]
impl Clone for DialogPos
[src]
fn clone(&self) -> DialogPos
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more