[][src]Struct liriodendron::userinterface::UserInterface

pub struct UserInterface {
    event: UserEvent,
    error: UserError,
    view: View,
}

Fields

event: UserEventerror: UserErrorview: View

Methods

impl UserInterface[src]

pub fn new() -> UserInterface[src]

fn cmp(
    (terminal_width, terminal_height): (u16, u16),
    (min_width, min_height): (u16, u16)
) -> UserError
[src]

pub fn check_terminal_size(event: UserEvent, view: View) -> UserError[src]

pub fn get_event(&self) -> UserEvent[src]

pub fn get_view(&self) -> View[src]

pub fn get_error(&self) -> UserError[src]

pub fn set_event(&mut self, event: UserEvent)[src]

pub fn set_error(&mut self, error: UserError)[src]

fn set_view(&mut self, view: View)[src]

pub fn set_popupview(&mut self, (event, error): (UserEvent, UserError))[src]

pub fn set(&mut self, (event, error, view): (UserEvent, UserError, View))[src]

Auto Trait Implementations

impl RefUnwindSafe for UserInterface

impl Send for UserInterface

impl Sync for UserInterface

impl Unpin for UserInterface

impl UnwindSafe for UserInterface

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> SetParameter for T

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<V, T> VZip<V> for T where
    V: MultiLane<T>,