Skip to main content

IFrnPlatformRenderTimerImpl

Trait IFrnPlatformRenderTimerImpl 

Source
pub trait IFrnPlatformRenderTimerImpl: IUnknownImpl {
    // Required methods
    fn register_tick(&self, callback: Option<&IFrnActionCallback>) -> i32;
    fn start(&self);
    fn stop(&self);
    fn runs_in_background(&self) -> bool;
}
Expand description

Implement this to provide IFrnPlatformRenderTimer to native code (see IFrnPlatformRenderTimer::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: IFrnPlatformRenderTimerImpl + ?Sized> IFrnPlatformRenderTimerImpl for Box<T>

Source§

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

Implementors§