[−][src]Struct beryllium::WindowFlags
Flags that a window might have.
This is for use with create_window as well as other methods that examine the state of a window.
Methods
impl WindowFlags
[src]
pub const fn fullscreen(self) -> bool
[src]
pub const fn with_fullscreen(self, bit: bool) -> Self
[src]
pub const fn opengl(self) -> bool
[src]
Make a window with OpenGL Support
pub const fn with_opengl(self, bit: bool) -> Self
[src]
pub const fn shown(self) -> bool
[src]
The window is currently being shown.
Newly created windows are always shown, you don't need to pass this flag to the window creation (though it doesn't hurt I guess).
pub const fn with_shown(self, bit: bool) -> Self
[src]
[src]
[src]
pub const fn borderless(self) -> bool
[src]
pub const fn with_borderless(self, bit: bool) -> Self
[src]
pub const fn resizable(self) -> bool
[src]
pub const fn with_resizable(self, bit: bool) -> Self
[src]
pub const fn minimized(self) -> bool
[src]
pub const fn with_minimized(self, bit: bool) -> Self
[src]
pub const fn maximized(self) -> bool
[src]
pub const fn with_maximized(self, bit: bool) -> Self
[src]
pub const fn input_grabbed(self) -> bool
[src]
pub const fn with_input_grabbed(self, bit: bool) -> Self
[src]
pub const fn input_focus(self) -> bool
[src]
pub const fn with_input_focus(self, bit: bool) -> Self
[src]
pub const fn mouse_focus(self) -> bool
[src]
pub const fn with_mouse_focus(self, bit: bool) -> Self
[src]
pub const fn fullscreen_desktop(self) -> bool
[src]
pub const fn with_fullscreen_desktop(self, bit: bool) -> Self
[src]
pub const fn foreign(self) -> bool
[src]
pub const fn with_foreign(self, bit: bool) -> Self
[src]
pub const fn allow_high_dpi(self) -> bool
[src]
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.
pub const fn with_allow_high_dpi(self, bit: bool) -> Self
[src]
pub const fn mouse_capture(self) -> bool
[src]
Distinct from "input grabbed".
pub const fn with_mouse_capture(self, bit: bool) -> Self
[src]
pub const fn always_on_top(self) -> bool
[src]
pub const fn with_always_on_top(self, bit: bool) -> Self
[src]
pub const fn skip_taskbar(self) -> bool
[src]
Window should not be added to the taskbar list (eg: a dialog box).
pub const fn with_skip_taskbar(self, bit: bool) -> Self
[src]
pub const fn utility(self) -> bool
[src]
pub const fn with_utility(self, bit: bool) -> Self
[src]
pub const fn tooltip(self) -> bool
[src]
pub const fn with_tooltip(self, bit: bool) -> Self
[src]
pub const fn popup_menu(self) -> bool
[src]
pub const fn with_popup_menu(self, bit: bool) -> Self
[src]
pub const fn vulkan(self) -> bool
[src]
pub const fn with_vulkan(self, bit: bool) -> Self
[src]
Trait Implementations
impl Clone for WindowFlags
[src]
fn clone(&self) -> WindowFlags
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for WindowFlags
[src]
fn default() -> WindowFlags
[src]
impl Copy for WindowFlags
[src]
impl Debug for WindowFlags
[src]
Auto Trait Implementations
impl Send for WindowFlags
impl Unpin for WindowFlags
impl Sync for WindowFlags
impl UnwindSafe for WindowFlags
impl RefUnwindSafe for WindowFlags
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> 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<U> 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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,