pub trait IFrnPlatformThreadingInterfaceImpl: IUnknownImpl {
// Required methods
fn get_current_thread_is_loop_thread(&self) -> bool;
fn set_events(&self, cb: Option<&IFrnPlatformThreadingInterfaceEvents>);
fn create_loop_cancellation(&self) -> Option<ComPtr<IFrnLoopCancellation>>;
fn run_loop(&self, cancel: Option<&IFrnLoopCancellation>);
fn signal(&self);
fn update_timer(&self, ms: i32);
fn request_background_processing(&self);
}Expand description
Implement this to provide IFrnPlatformThreadingInterface to native code (see IFrnPlatformThreadingInterface::from_impl).
Required Methods§
fn get_current_thread_is_loop_thread(&self) -> bool
fn set_events(&self, cb: Option<&IFrnPlatformThreadingInterfaceEvents>)
fn create_loop_cancellation(&self) -> Option<ComPtr<IFrnLoopCancellation>>
fn run_loop(&self, cancel: Option<&IFrnLoopCancellation>)
fn signal(&self)
fn update_timer(&self, ms: i32)
fn request_background_processing(&self)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".