pub struct FullScreen { /* private fields */ }Expand description
A shared handle to the full screen service, from crate::BuildCx::full_screen or
crate::Ui::full_screen.
use ravenrs_widgets::FullScreen;
let screen = FullScreen::default();
screen.toggle();
assert!(screen.is_on());Implementations§
Source§impl FullScreen
impl FullScreen
Sourcepub fn new(provider: impl FullScreenProvider + 'static) -> FullScreen
pub fn new(provider: impl FullScreenProvider + 'static) -> FullScreen
The service backed by provider.
Trait Implementations§
Source§impl Clone for FullScreen
impl Clone for FullScreen
Source§fn clone(&self) -> FullScreen
fn clone(&self) -> FullScreen
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Default for FullScreen
impl Default for FullScreen
Source§fn default() -> FullScreen
fn default() -> FullScreen
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for FullScreen
impl !Send for FullScreen
impl !Sync for FullScreen
impl !UnwindSafe for FullScreen
impl Freeze for FullScreen
impl Unpin for FullScreen
impl UnsafeUnpin for FullScreen
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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