Add fs2
Co-Authored-By: Max <max@zed.dev> Co-Authored-By: Conrad <conrad.irwin@gmail.com> Co-Authored-By: Kyle <kyle@zed.dev>
This commit is contained in:
parent
9986e526e5
commit
412c0ff7dc
9 changed files with 1810 additions and 10 deletions
|
@ -162,8 +162,11 @@ pub trait PlatformDispatcher: Send + Sync {
|
|||
fn dispatch_on_main_thread(&self, runnable: Runnable);
|
||||
fn dispatch_after(&self, duration: Duration, runnable: Runnable);
|
||||
fn poll(&self) -> bool;
|
||||
|
||||
#[cfg(any(test, feature = "test-support"))]
|
||||
fn advance_clock(&self, duration: Duration);
|
||||
fn as_test(&self) -> Option<&TestDispatcher> {
|
||||
None
|
||||
}
|
||||
}
|
||||
|
||||
pub trait PlatformTextSystem: Send + Sync {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue