1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
use crate::NativeWidget;


pub trait WidgetGenerator {
	fn create_element(
		&mut self,
		s: &str,
	) -> Result<NativeWidget, ()>;

	#[cfg(target_os = "android")]
	fn context(&self) -> &dyn crate::implz::android::android_context::Context;
}