[−][src]Enum sdl2_sys::SDL_WindowFlags
\brief The flags on a window
\sa SDL_GetWindowFlags()
Variants
SDL_WINDOW_FULLSCREEN< fullscreen window
SDL_WINDOW_OPENGL< window usable with OpenGL context
SDL_WINDOW_SHOWN< window is visible
SDL_WINDOW_HIDDEN< window is not visible
SDL_WINDOW_BORDERLESS< no window decoration
SDL_WINDOW_RESIZABLE< window can be resized
SDL_WINDOW_MINIMIZED< window is minimized
SDL_WINDOW_MAXIMIZED< window is maximized
SDL_WINDOW_INPUT_GRABBED< window has grabbed input focus
SDL_WINDOW_INPUT_FOCUS< window has input focus
SDL_WINDOW_MOUSE_FOCUS< window has mouse focus
SDL_WINDOW_FULLSCREEN_DESKTOPSDL_WINDOW_FOREIGN< window not created by SDL
SDL_WINDOW_ALLOW_HIGHDPI< window should be created in high-DPI mode if supported. On macOS NSHighResolutionCapable must be set true in the application's Info.plist for this to have any effect.
SDL_WINDOW_MOUSE_CAPTURE< window has mouse captured (unrelated to INPUT_GRABBED)
SDL_WINDOW_ALWAYS_ON_TOP< window should always be above others
SDL_WINDOW_SKIP_TASKBAR< window should not be added to the taskbar
SDL_WINDOW_UTILITY< window should be treated as a utility window
SDL_WINDOW_TOOLTIP< window should be treated as a tooltip
SDL_WINDOW_POPUP_MENU< window should be treated as a popup menu
SDL_WINDOW_VULKAN< window usable for Vulkan surface
Trait Implementations
impl Copy for SDL_WindowFlags[src]
impl Debug for SDL_WindowFlags[src]
impl PartialEq<SDL_WindowFlags> for SDL_WindowFlags[src]
fn eq(&self, other: &SDL_WindowFlags) -> bool[src]
#[must_use]
default fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for SDL_WindowFlags[src]
impl Hash for SDL_WindowFlags[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
default fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Clone for SDL_WindowFlags[src]
fn clone(&self) -> SDL_WindowFlags[src]
default fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for SDL_WindowFlags
impl Sync for SDL_WindowFlags
Blanket Implementations
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,