#[non_exhaustive]#[repr(u32)]pub enum WindowCommand {
Close = 61_536,
Maximize = 61_488,
Minimize = 61_472,
Restore = 61_728,
}
Available on crate feature
ui
only.Expand description
Window command corresponding to its buttons in the top right corner.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for WindowCommand
impl Clone for WindowCommand
Source§fn clone(&self) -> WindowCommand
fn clone(&self) -> WindowCommand
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 WindowCommand
impl Debug for WindowCommand
Source§impl From<WindowCommand> for u32
impl From<WindowCommand> for u32
Source§fn from(enum_value: WindowCommand) -> Self
fn from(enum_value: WindowCommand) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WindowCommand
impl PartialEq for WindowCommand
impl Copy for WindowCommand
impl Eq for WindowCommand
impl StructuralPartialEq for WindowCommand
Auto Trait Implementations§
impl Freeze for WindowCommand
impl RefUnwindSafe for WindowCommand
impl Send for WindowCommand
impl Sync for WindowCommand
impl Unpin for WindowCommand
impl UnwindSafe for WindowCommand
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