Struct pseudoterminal::Terminal
source · pub struct Terminal {
pub termin: Option<TerminalIn>,
pub termout: Option<TerminalOut>,
/* private fields */
}
Fields§
§termin: Option<TerminalIn>
§termout: Option<TerminalOut>
Implementations§
source§impl Terminal
impl Terminal
pub fn get_term_size(&mut self) -> Result<TerminalSize>
pub fn set_term_size(&mut self, new_size: TerminalSize) -> Result<()>
pub fn close(self) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for Terminal
impl Send for Terminal
impl Sync for Terminal
impl Unpin for Terminal
impl UnwindSafe for Terminal
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more