pub(crate) enum AdapterState {
Inactive {
is_window_focused: bool,
root_window_bounds: WindowBounds,
action_handler: Arc<dyn ActionHandlerNoMut + Send + Sync>,
},
Pending {
is_window_focused: bool,
root_window_bounds: WindowBounds,
action_handler: Arc<dyn ActionHandlerNoMut + Send + Sync>,
},
Active(Adapter),
}Variants§
Inactive
Pending
Active(Adapter)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdapterState
impl !RefUnwindSafe for AdapterState
impl Send for AdapterState
impl Sync for AdapterState
impl Unpin for AdapterState
impl !UnwindSafe for AdapterState
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