Struct panorama_tui::Frame[][src]

pub struct Frame<'a, W> {
    terminal: &'a mut Terminal<W>,
    cursor_position: Option<(u16, u16)>,
}

Fields

terminal: &'a mut Terminal<W>cursor_position: Option<(u16, u16)>

Implementations

impl<'a, W: Write> Frame<'a, W>[src]

pub fn set_cursor(&mut self, x: u16, y: u16)[src]

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

pub fn render_widget<W2>(&mut self, widget: W2, area: Rect) where
    W2: Widget, 
[src]

Auto Trait Implementations

impl<'a, W> RefUnwindSafe for Frame<'a, W> where
    W: RefUnwindSafe
[src]

impl<'a, W> Send for Frame<'a, W> where
    W: Send
[src]

impl<'a, W> Sync for Frame<'a, W> where
    W: Sync
[src]

impl<'a, W> Unpin for Frame<'a, W>[src]

impl<'a, W> !UnwindSafe for Frame<'a, W>[src]

Blanket Implementations

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

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

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

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.