pub enum FullscreenMode {
Windowed,
Borderless,
Exclusive,
}Expand description
Cross-platform fullscreen presentation mode.
Variants§
Windowed
Standard windowed mode.
Borderless
Borderless desktop fullscreen or mobile edge-to-edge immersive mode.
Exclusive
Exclusive hardware fullscreen mode where supported by the OS.
Trait Implementations§
Source§impl Clone for FullscreenMode
impl Clone for FullscreenMode
impl Copy for FullscreenMode
Source§impl Debug for FullscreenMode
impl Debug for FullscreenMode
Source§impl Default for FullscreenMode
impl Default for FullscreenMode
impl Eq for FullscreenMode
Source§impl Hash for FullscreenMode
impl Hash for FullscreenMode
Source§impl Ord for FullscreenMode
impl Ord for FullscreenMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FullscreenMode
impl PartialEq for FullscreenMode
Source§impl PartialOrd for FullscreenMode
impl PartialOrd for FullscreenMode
impl StructuralPartialEq for FullscreenMode
Auto Trait Implementations§
impl Forget for FullscreenMode
impl Freeze for FullscreenMode
impl Move for FullscreenMode
impl RefUnwindSafe for FullscreenMode
impl Send for FullscreenMode
impl Sync for FullscreenMode
impl Unpin for FullscreenMode
impl UnsafeUnpin for FullscreenMode
impl UnwindSafe for FullscreenMode
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