[][src]Struct portable_pty::PtySize

pub struct PtySize {
    pub rows: u16,
    pub cols: u16,
    pub pixel_width: u16,
    pub pixel_height: u16,
}

Represents the size of the visible display area in the pty

Fields

rows: u16

The number of lines of text

cols: u16

The number of columns of text

pixel_width: u16

The width of a cell in pixels. Note that some systems never fill this value and ignore it.

pixel_height: u16

The height of a cell in pixels. Note that some systems never fill this value and ignore it.

Trait Implementations

impl Clone for PtySize[src]

impl Copy for PtySize[src]

impl Debug for PtySize[src]

impl Default for PtySize[src]

impl PartialEq<PtySize> for PtySize[src]

impl StructuralPartialEq for PtySize[src]

Auto Trait Implementations

impl RefUnwindSafe for PtySize

impl Send for PtySize

impl Sync for PtySize

impl Unpin for PtySize

impl UnwindSafe for PtySize

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.