pub trait ElementExt: Sealed + Sized {
// Required methods
fn key(&self) -> &ElementKey;
fn props_mut(&mut self) -> AnyProps<'_>;
fn helper(&self) -> Box<dyn ComponentHelperExt>;
fn render_loop(
&mut self,
options: TerminalOptions,
) -> impl Future<Output = Result<()>>;
fn fullscreen(&mut self) -> impl Future<Output = Result<()>>;
}Required Methods§
fn key(&self) -> &ElementKey
fn props_mut(&mut self) -> AnyProps<'_>
fn helper(&self) -> Box<dyn ComponentHelperExt>
fn render_loop( &mut self, options: TerminalOptions, ) -> impl Future<Output = Result<()>>
fn fullscreen(&mut self) -> impl Future<Output = Result<()>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.