Enum vulkano_util::window::WindowMode
source · [−]pub enum WindowMode {
Windowed,
BorderlessFullscreen,
SizedFullscreen,
Fullscreen,
}
Expand description
Defines the way a window is displayed.
Variants
Windowed
Creates a window that uses the given size.
BorderlessFullscreen
Creates a borderless window that uses the full size of the screen.
SizedFullscreen
Creates a fullscreen window that will render at desktop resolution.
The app will use the closest supported size from the given size and scale it to fit the screen.
Fullscreen
Creates a fullscreen window that uses the maximum supported size.
Trait Implementations
sourceimpl Clone for WindowMode
impl Clone for WindowMode
sourcefn clone(&self) -> WindowMode
fn clone(&self) -> WindowMode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WindowMode
impl Debug for WindowMode
sourceimpl PartialEq<WindowMode> for WindowMode
impl PartialEq<WindowMode> for WindowMode
impl Copy for WindowMode
impl StructuralPartialEq for WindowMode
Auto Trait Implementations
impl RefUnwindSafe for WindowMode
impl Send for WindowMode
impl Sync for WindowMode
impl Unpin for WindowMode
impl UnwindSafe for WindowMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more