[][src]Struct itui::terminal::Frame

pub struct Frame<'a, B: 'a> where
    B: Backend
{ /* fields omitted */ }

Represents a consistent terminal interface for rendering.

Methods

impl<'a, B> Frame<'a, B> where
    B: Backend
[src]

pub fn size(&self) -> Rect[src]

Terminal size, guaranteed not to change when rendering.

pub fn render<W>(&mut self, widget: &mut W) where
    W: Widget
[src]

Calls the draw method of a given widget on the current buffer

Auto Trait Implementations

impl<'a, B> Sync for Frame<'a, B> where
    B: Sync

impl<'a, B> Send for Frame<'a, B> where
    B: Send

impl<'a, B> Unpin for Frame<'a, B>

impl<'a, B> RefUnwindSafe for Frame<'a, B> where
    B: RefUnwindSafe

impl<'a, B> !UnwindSafe for Frame<'a, B>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]