Struct android_activity::StateSaver
source · pub struct StateSaver<'a> { /* private fields */ }
Expand description
An interface for saving application state during MainEvent::SaveState events
This interface is only available temporarily while handling a MainEvent::SaveState event.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for StateSaver<'a>
impl<'a> RefUnwindSafe for StateSaver<'a>
impl<'a> Send for StateSaver<'a>
impl<'a> Sync for StateSaver<'a>
impl<'a> Unpin for StateSaver<'a>
impl<'a> UnwindSafe for StateSaver<'a>
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