Trait panorama::ui::windows::Window [−][src]
Required methods
fn name(&self) -> String[src]
Return some kind of name
#[must_use]fn draw<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
f: &'life1 mut Frame<'life2, &'life3 mut Stdout>,
area: Rect,
ui: &'life4 UI
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
f: &'life1 mut Frame<'life2, &'life3 mut Stdout>,
area: Rect,
ui: &'life4 UI
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Self: 'async_trait,
Main draw function
Provided methods
#[must_use]fn update<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait, [src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Update function
Implementations
impl dyn Window[src]
pub fn is<__T: Window>(&self) -> bool[src]
Returns true if the trait object wraps an object of type __T.
pub fn downcast<__T: Window>(self: Box<Self>) -> Result<Box<__T>, Box<Self>>[src]
Returns a boxed object from a boxed trait object if the underlying object is of type
__T. Returns the original boxed trait if it isn't.
pub fn downcast_rc<__T: Window>(self: Rc<Self>) -> Result<Rc<__T>, Rc<Self>>[src]
Returns an Rc-ed object from an Rc-ed trait object if the underlying object is of
type __T. Returns the original Rc-ed trait if it isn't.
pub fn downcast_ref<__T: Window>(&self) -> Option<&__T>[src]
Returns a reference to the object within the trait object if it is of type __T, or
None if it isn't.
pub fn downcast_mut<__T: Window>(&mut self) -> Option<&mut __T>[src]
Returns a mutable reference to the object within the trait object if it is of type
__T, or None if it isn't.
Implementors
impl Window for MailView[src]
fn name(&self) -> String[src]
fn draw<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
f: &'life1 mut Frame<'life2, &'life3 mut Stdout>,
area: Rect,
ui: &'life4 UI
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Self: 'async_trait, [src]
&'life0 self,
f: &'life1 mut Frame<'life2, &'life3 mut Stdout>,
area: Rect,
ui: &'life4 UI
) -> Pin<Box<dyn Future<Output = Result<()>> + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Self: 'async_trait,
fn update<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait, [src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,