pub enum WindowRequest {
Move,
Resize(Anchors),
Minimize,
}Expand description
What a widget asked of the floating window it is in. Moving and
resizing need a pointer button held, so ask from a button’s
on_press; asked otherwise, they are ignored.
Variants§
Move
Let the user drag the window, as by its title bar.
Resize(Anchors)
Let the user resize the window from these edges.
Minimize
Minimize it; the compositor may do nothing.
Trait Implementations§
Source§impl Clone for WindowRequest
impl Clone for WindowRequest
impl Copy for WindowRequest
Source§impl Debug for WindowRequest
impl Debug for WindowRequest
impl Eq for WindowRequest
Source§impl PartialEq for WindowRequest
impl PartialEq for WindowRequest
impl StructuralPartialEq for WindowRequest
Auto Trait Implementations§
impl Forget for WindowRequest
impl Freeze for WindowRequest
impl Move for WindowRequest
impl RefUnwindSafe for WindowRequest
impl Send for WindowRequest
impl Sync for WindowRequest
impl Unpin for WindowRequest
impl UnsafeUnpin for WindowRequest
impl UnwindSafe for WindowRequest
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