[][src]Enum sdl2_sys::SDL_WindowFlags

#[repr(u32)]
pub enum SDL_WindowFlags { SDL_WINDOW_FULLSCREEN, SDL_WINDOW_OPENGL, SDL_WINDOW_SHOWN, SDL_WINDOW_HIDDEN, SDL_WINDOW_BORDERLESS, SDL_WINDOW_RESIZABLE, SDL_WINDOW_MINIMIZED, SDL_WINDOW_MAXIMIZED, SDL_WINDOW_INPUT_GRABBED, SDL_WINDOW_INPUT_FOCUS, SDL_WINDOW_MOUSE_FOCUS, SDL_WINDOW_FULLSCREEN_DESKTOP, SDL_WINDOW_FOREIGN, SDL_WINDOW_ALLOW_HIGHDPI, SDL_WINDOW_MOUSE_CAPTURE, SDL_WINDOW_ALWAYS_ON_TOP, SDL_WINDOW_SKIP_TASKBAR, SDL_WINDOW_UTILITY, SDL_WINDOW_TOOLTIP, SDL_WINDOW_POPUP_MENU, SDL_WINDOW_VULKAN, }

\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]

#[must_use]
default fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Eq for SDL_WindowFlags[src]

impl Hash for SDL_WindowFlags[src]

default fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for 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

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]