pub trait FullScreenProvider {
// Required methods
fn is_on(&self) -> bool;
fn set(&self, on: bool);
// Provided method
fn available(&self) -> bool { ... }
}Expand description
Puts the app in full screen and takes it out. Platform layers install one with
crate::Ui::set_full_screen: the browser asks for the page’s full screen, the
desktop turns the window into a borderless full screen.
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".