pub enum FrameRequest {
Minimize,
Maximize,
UnMaximize,
Close,
Move(WlSeat),
Resize(WlSeat, ResizeEdge),
ShowMenu(WlSeat, i32, i32),
Refresh,
}
Expand description
Request generated by a Frame
These requests are generated by a Frame and the Window will forward them appropriately to the server.
Variants
Minimize
The window should be minimized
Maximize
The window should be maximized
UnMaximize
The window should be unmaximized
Close
The window should be closed
Move(WlSeat)
An interactive move should be started
Resize(WlSeat, ResizeEdge)
An interactive resize should be started
ShowMenu(WlSeat, i32, i32)
Show window menu.
Refresh
The frame requests to be refreshed
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FrameRequest
impl Send for FrameRequest
impl Sync for FrameRequest
impl Unpin for FrameRequest
impl !UnwindSafe for FrameRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more