[−][src]Struct alacritty::tty::Pty
Fields
fd: FileMethods
impl Pty[src]
pub fn resize<T: ToWinsize>(&self, size: &T)[src]
Resize the pty
Tells the kernel that the window size changed with the new pixel dimensions and line/column counts.
Trait Implementations
impl EventedReadWrite for Pty[src]
type Reader = File
type Writer = File
fn register(
&mut self,
poll: &Poll,
token: &mut dyn Iterator<Item = Token>,
interest: Ready,
poll_opts: PollOpt
) -> Result<()>[src]
&mut self,
poll: &Poll,
token: &mut dyn Iterator<Item = Token>,
interest: Ready,
poll_opts: PollOpt
) -> Result<()>
fn reregister(
&mut self,
poll: &Poll,
interest: Ready,
poll_opts: PollOpt
) -> Result<()>[src]
&mut self,
poll: &Poll,
interest: Ready,
poll_opts: PollOpt
) -> Result<()>
fn deregister(&mut self, poll: &Poll) -> Result<()>[src]
fn reader(&mut self) -> &mut File[src]
fn read_token(&self) -> Token[src]
fn writer(&mut self) -> &mut File[src]
fn write_token(&self) -> Token[src]
impl EventedPty for Pty[src]
fn next_child_event(&mut self) -> Option<ChildEvent>[src]
fn child_event_token(&self) -> Token[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> SetParameter for T[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>, [src]
T: Parameter<Self>,
Sets value as a parameter of self.