Skip to main content

RegisterStatbarSubject

Trait RegisterStatbarSubject 

Source
pub trait RegisterStatbarSubject {
    // Required methods
    fn add_statbar_component_observer<T: StatbarObservable + Component>(
        &mut self,
    ) -> &mut Self;
    fn add_statbar_resource_observer<T: StatbarObservable + 'static + Send + Sync>(
        &mut self,
    ) -> &mut Self;
    fn add_standalone_statbar<T: 'static>(&mut self) -> &mut Self;
}

Required Methods§

Source

fn add_statbar_component_observer<T: StatbarObservable + Component>( &mut self, ) -> &mut Self

Source

fn add_statbar_resource_observer<T: StatbarObservable + 'static + Send + Sync>( &mut self, ) -> &mut Self

Source

fn add_standalone_statbar<T: 'static>(&mut self) -> &mut Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementations on Foreign Types§

Source§

impl RegisterStatbarSubject for App

Source§

fn add_statbar_component_observer<T: StatbarObservable + Component>( &mut self, ) -> &mut Self

Source§

fn add_statbar_resource_observer<T: StatbarObservable + 'static + Send + Sync>( &mut self, ) -> &mut Self

Source§

fn add_standalone_statbar<T: 'static>(&mut self) -> &mut Self

Implementors§