pub struct AppRunnerParams {Show 14 fields
pub app: Box<dyn App>,
pub shared_buffer: Arc<Mutex<Vec<u32>>>,
pub event_queue: Arc<Mutex<Vec<AppEvent>>>,
pub is_alive: Arc<AtomicBool>,
pub active_tab: Arc<Mutex<usize>>,
pub tabs: Arc<Mutex<Vec<String>>>,
pub live_title: Arc<Mutex<Option<String>>>,
pub needs_timer_redraw: Arc<AtomicBool>,
pub buffer_updated: Arc<AtomicBool>,
pub heartbeat_ms: Arc<AtomicU64>,
pub tab_kill: Arc<AtomicUsize>,
pub running_tab: Arc<AtomicUsize>,
pub width: u32,
pub height: u32,
}Fields§
§app: Box<dyn App>§event_queue: Arc<Mutex<Vec<AppEvent>>>§is_alive: Arc<AtomicBool>§active_tab: Arc<Mutex<usize>>§tabs: Arc<Mutex<Vec<String>>>§live_title: Arc<Mutex<Option<String>>>§needs_timer_redraw: Arc<AtomicBool>§buffer_updated: Arc<AtomicBool>shared_buffer 更新通知フラグ(Core 0 への dirty 伝達用)
heartbeat_ms: Arc<AtomicU64>ProxyApp::heartbeat_ms と同じ物(1 周の始まりで書く)。
tab_kill: Arc<AtomicUsize>ProxyApp::tab_kill・ProxyApp::running_tab と同じ物(TODO R2 (d))。
running_tab: Arc<AtomicUsize>§width: u32§height: u32Auto Trait Implementations§
impl !RefUnwindSafe for AppRunnerParams
impl !Send for AppRunnerParams
impl !Sync for AppRunnerParams
impl !UnwindSafe for AppRunnerParams
impl Freeze for AppRunnerParams
impl Unpin for AppRunnerParams
impl UnsafeUnpin for AppRunnerParams
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