pub enum FullScreenMode {
SlowFullScreen,
FastFullScreen,
SlowWindowed,
FastWindowed,
}
Variants§
SlowFullScreen
- macOS: If the window is in windowed mode, transitions it slowly to fullscreen mode
- other: Does the same as
FastFullScreen
.
FastFullScreen
Window should immediately go into fullscreen mode (on macOS this is not the default behaviour).
SlowWindowed
- macOS: If the window is in fullscreen mode, transitions slowly back to windowed state.
- other: Does the same as
FastWindowed
.
FastWindowed
If the window is in fullscreen mode, will immediately go back to windowed mode (on macOS this is not the default behaviour).
Trait Implementations§
Source§impl Clone for FullScreenMode
impl Clone for FullScreenMode
Source§fn clone(&self) -> FullScreenMode
fn clone(&self) -> FullScreenMode
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 FullScreenMode
impl Debug for FullScreenMode
Source§impl Hash for FullScreenMode
impl Hash for FullScreenMode
Source§impl Ord for FullScreenMode
impl Ord for FullScreenMode
Source§fn cmp(&self, other: &FullScreenMode) -> Ordering
fn cmp(&self, other: &FullScreenMode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for FullScreenMode
impl PartialEq for FullScreenMode
Source§impl PartialOrd for FullScreenMode
impl PartialOrd for FullScreenMode
impl Copy for FullScreenMode
impl Eq for FullScreenMode
impl StructuralPartialEq for FullScreenMode
Auto Trait Implementations§
impl Freeze for FullScreenMode
impl RefUnwindSafe for FullScreenMode
impl Send for FullScreenMode
impl Sync for FullScreenMode
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)