Enum rich_sdl2_rust::window::WindowFormat
source · #[non_exhaustive]
pub enum WindowFormat {
Normal,
FullScreen,
FullScreenWithCurrentDesktop,
Minimized,
Maximized,
}
Expand description
A format of a super::Window
.
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.
Normal
A normal window.
FullScreen
A full screen window.
FullScreenWithCurrentDesktop
A full screen window on the current desktop.
Minimized
A minimized window.
Maximized
A maximized window.
Trait Implementations§
source§impl Clone for WindowFormat
impl Clone for WindowFormat
source§fn clone(&self) -> WindowFormat
fn clone(&self) -> WindowFormat
Returns a copy 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 WindowFormat
impl Debug for WindowFormat
source§impl PartialEq<WindowFormat> for WindowFormat
impl PartialEq<WindowFormat> for WindowFormat
source§fn eq(&self, other: &WindowFormat) -> bool
fn eq(&self, other: &WindowFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.