pub struct IdleState { /* private fields */ }Implementations§
Source§impl IdleState
impl IdleState
pub fn on_visible(&mut self) -> IdleAction
pub fn on_timer(&mut self, generation: u64) -> IdleAction
Sourcepub fn on_suspend_failed(&mut self)
pub fn on_suspend_failed(&mut self)
The platform suspend did not happen (hiding the controller or TrySuspend failed): the
webview is still running, so forget the suspend. A later hide starts a fresh timer.
Trait Implementations§
impl Copy for IdleState
impl Eq for IdleState
impl StructuralPartialEq for IdleState
Auto Trait Implementations§
impl Freeze for IdleState
impl RefUnwindSafe for IdleState
impl Send for IdleState
impl Sync for IdleState
impl Unpin for IdleState
impl UnsafeUnpin for IdleState
impl UnwindSafe for IdleState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.