Enum winit::window::Fullscreen
source · pub enum Fullscreen {
Exclusive(VideoMode),
Borderless(Option<MonitorHandle>),
}
Expand description
Fullscreen modes.
Variants§
Exclusive(VideoMode)
Borderless(Option<MonitorHandle>)
Providing None
to Borderless
will fullscreen on the current monitor.
Trait Implementations§
source§impl Clone for Fullscreen
impl Clone for Fullscreen
source§fn clone(&self) -> Fullscreen
fn clone(&self) -> Fullscreen
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 Fullscreen
impl Debug for Fullscreen
source§impl PartialEq<Fullscreen> for Fullscreen
impl PartialEq<Fullscreen> for Fullscreen
source§fn eq(&self, other: &Fullscreen) -> bool
fn eq(&self, other: &Fullscreen) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.