Struct pseudoterm::OpenptyOptions [−][src]
Configurable options for opening PTYs
Fields
size: Option<Winsize>
nonblock: bool
Methods
impl OpenptyOptions
[src]
impl OpenptyOptions
pub fn new() -> Self
[src]
pub fn new() -> Self
Same as default()
pub fn with_size(self, size: Winsize) -> Self
[src]
pub fn with_size(self, size: Winsize) -> Self
Chainable function to set size
pub fn with_nonblocking(self, nonblock: bool) -> Self
[src]
pub fn with_nonblocking(self, nonblock: bool) -> Self
Chainable function to set the master file to be nonblocking
Trait Implementations
impl Clone for OpenptyOptions
[src]
impl Clone for OpenptyOptions
fn clone(&self) -> OpenptyOptions
[src]
fn clone(&self) -> OpenptyOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for OpenptyOptions
[src]
impl Debug for OpenptyOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for OpenptyOptions
[src]
impl Default for OpenptyOptions
fn default() -> OpenptyOptions
[src]
fn default() -> OpenptyOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for OpenptyOptions
impl Send for OpenptyOptions
impl Sync for OpenptyOptions
impl Sync for OpenptyOptions