[−][src]Struct alacritty_terminal::event_loop::EventLoop
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]
T: EventedPty + OnResize + Send + 'static,
U: EventListener + Send + 'static,
pub fn new(
terminal: Arc<FairMutex<Term<U>>>,
event_proxy: U,
pty: T,
hold: bool,
ref_test: bool
) -> EventLoop<T, U>
[src]
terminal: Arc<FairMutex<Term<U>>>,
event_proxy: U,
pty: T,
hold: bool,
ref_test: bool
) -> EventLoop<T, U>
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,
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,
T: Unpin,
U: Unpin,
impl<T, U> !UnwindSafe for EventLoop<T, U>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,