[][src]Struct alacritty_terminal::event_loop::EventLoop

pub struct EventLoop<T: EventedPty, U: EventListener> { /* fields omitted */ }

The main event!.. loop.

Handles all the PTY I/O and runs the PTY parser which updates terminal state.

Implementations

impl<T, U> EventLoop<T, U> where
    T: EventedPty + OnResize + Send + 'static,
    U: EventListener + Send + 'static, 
[src]

pub fn new(
    terminal: Arc<FairMutex<Term<U>>>,
    event_proxy: U,
    pty: T,
    hold: bool,
    ref_test: bool
) -> EventLoop<T, U>
[src]

Create a new event loop.

pub fn channel(&self) -> Sender<Msg>[src]

pub fn spawn(self) -> JoinHandle<(Self, State)>[src]

Auto Trait Implementations

impl<T, U> !RefUnwindSafe for EventLoop<T, U>

impl<T, U> Send for EventLoop<T, U> where
    T: Send,
    U: Send

impl<T, U> !Sync for EventLoop<T, U>

impl<T, U> Unpin for EventLoop<T, U> where
    T: Unpin,
    U: Unpin

impl<T, U> !UnwindSafe for EventLoop<T, U>

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.