pub struct Screen { /* private fields */ }Expand description
The screen, as the backend last drew it.
Implementations§
Source§impl Screen
impl Screen
Sourcepub fn invalidate(&mut self)
pub fn invalidate(&mut self)
The next frame must reach the SDK’s frame buffer whatever it shows: something else drew over it.
Sourcepub fn take_changed(&mut self) -> bool
pub fn take_changed(&mut self) -> bool
Whether anything reached the SDK since the last call: the update callback returns it.
Trait Implementations§
Auto Trait Implementations§
impl !Send for Screen
impl !Sync for Screen
impl Freeze for Screen
impl RefUnwindSafe for Screen
impl Unpin for Screen
impl UnsafeUnpin for Screen
impl UnwindSafe for Screen
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