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
sourceimpl Clone for Fullscreen
impl Clone for Fullscreen
sourcefn clone(&self) -> Fullscreen
fn clone(&self) -> Fullscreen
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 Fullscreen
impl Debug for Fullscreen
sourceimpl PartialEq<Fullscreen> for Fullscreen
impl PartialEq<Fullscreen> for Fullscreen
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &Fullscreen) -> bool
fn ne(&self, other: &Fullscreen) -> bool
This method tests for !=
.
impl Eq for Fullscreen
impl StructuralEq for Fullscreen
impl StructuralPartialEq for Fullscreen
Auto Trait Implementations
impl !RefUnwindSafe for Fullscreen
impl Send for Fullscreen
impl Sync for Fullscreen
impl Unpin for Fullscreen
impl !UnwindSafe for Fullscreen
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