Enum tao::window::Fullscreen [−][src]
#[non_exhaustive] pub enum Fullscreen { Exclusive(VideoMode), Borderless(Option<MonitorHandle>), }
Expand description
Fullscreen modes.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tuple Fields of Exclusive
0: VideoMode
Providing None
to Borderless
will fullscreen on the current monitor.
Tuple Fields of Borderless
0: Option<MonitorHandle>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more