pub trait BorrowAppContext {
    // Required methods
    fn with_text_style<F, R>(
        &mut self,
        style: Option<TextStyleRefinement>,
        f: F
    ) -> R
       where F: FnOnce(&mut Self) -> R;
    fn set_global<T: 'static>(&mut self, global: T);
}

Required Methods§

source

fn with_text_style<F, R>( &mut self, style: Option<TextStyleRefinement>, f: F ) -> Rwhere F: FnOnce(&mut Self) -> R,

source

fn set_global<T: 'static>(&mut self, global: T)

Implementors§