Struct gpui2::MacDispatcher
source · pub struct MacDispatcher { /* private fields */ }
Implementations§
source§impl MacDispatcher
impl MacDispatcher
Trait Implementations§
source§impl PlatformDispatcher for MacDispatcher
impl PlatformDispatcher for MacDispatcher
fn is_main_thread(&self) -> bool
fn dispatch(&self, runnable: Runnable, _: Option<TaskLabel>)
fn dispatch_on_main_thread(&self, runnable: Runnable)
fn dispatch_after(&self, duration: Duration, runnable: Runnable)
fn tick(&self, _background_only: bool) -> bool
fn park(&self)
fn unparker(&self) -> Unparker
Auto Trait Implementations§
impl !RefUnwindSafe for MacDispatcher
impl Send for MacDispatcher
impl Sync for MacDispatcher
impl Unpin for MacDispatcher
impl !UnwindSafe for MacDispatcher
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