Skip to main content

IFrnPlatformThreadingInterfaceImpl

Trait IFrnPlatformThreadingInterfaceImpl 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IFrnPlatformThreadingInterfaceImpl + ?Sized> IFrnPlatformThreadingInterfaceImpl for Box<T>

Source§

impl<T: IFrnPlatformThreadingInterfaceImpl + ?Sized> IFrnPlatformThreadingInterfaceImpl for Rc<T>

Implementors§