Trait gpui2::BorrowAppContext
source · 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);
}