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 for Fullscreen
impl PartialEq 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 ==
.impl Eq for Fullscreen
impl StructuralPartialEq for Fullscreen
Auto Trait Implementations§
impl Freeze for Fullscreen
impl RefUnwindSafe for Fullscreen
impl Send for Fullscreen
impl Sync for Fullscreen
impl Unpin for Fullscreen
impl UnwindSafe for Fullscreen
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