pub struct TaskInterface(/* private fields */);
Implementations§
Source§impl TaskInterface
impl TaskInterface
pub fn add_task_delegate(&self, f: Box<dyn FnOnce() + Send + 'static>)
pub fn add_ui_task_delegate(&self, f: Box<dyn FnOnce() + Send + 'static>)
Trait Implementations§
Source§impl Clone for TaskInterface
impl Clone for TaskInterface
Source§fn clone(&self) -> TaskInterface
fn clone(&self) -> TaskInterface
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for TaskInterface
impl RefUnwindSafe for TaskInterface
impl Send for TaskInterface
impl Sync for TaskInterface
impl Unpin for TaskInterface
impl UnwindSafe for TaskInterface
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