pub enum FrameRequest {
Minimize,
ToggleMaximize,
Close,
SystemMenu(Pos2),
ExitFullscreen,
}Expand description
What the user asked of the window through its frame.
Variants§
Minimize
ToggleMaximize
Maximize, or restore when maximized.
Close
SystemMenu(Pos2)
The system menu, opened at this point (a right click on the caption, or the logo).
ExitFullscreen
Leave full screen (the button in place of maximize).
Trait Implementations§
Source§impl Clone for FrameRequest
impl Clone for FrameRequest
Source§fn clone(&self) -> FrameRequest
fn clone(&self) -> FrameRequest
Returns a duplicate 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 moreSource§impl Debug for FrameRequest
impl Debug for FrameRequest
Source§impl PartialEq for FrameRequest
impl PartialEq for FrameRequest
impl Copy for FrameRequest
impl StructuralPartialEq for FrameRequest
Auto Trait Implementations§
impl Freeze for FrameRequest
impl RefUnwindSafe for FrameRequest
impl Send for FrameRequest
impl Sync for FrameRequest
impl Unpin for FrameRequest
impl UnsafeUnpin for FrameRequest
impl UnwindSafe for FrameRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more