Struct winsize
#[repr(C)]
pub struct winsize { pub ws_row: c_ushort, pub ws_col: c_ushort, pub ws_xpixel: c_ushort, pub ws_ypixel: c_ushort }
Fields
ws_row: c_ushortws_col: c_ushortws_xpixel: c_ushortws_ypixel: c_ushort
Trait Implementations
impl Clone for winsize
fn clone(&self) -> winsize
impl Copy for winsize
impl Debug for winsize
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for winsize
impl Hash for winsize
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for winsize
fn eq(&self, other: &winsize) -> bool
impl StructuralPartialEq for winsize
Auto Trait Implementations
impl Freeze for winsize
impl RefUnwindSafe for winsize
impl Send for winsize
impl Sync for winsize
impl Unpin for winsize
impl UnsafeUnpin for winsize
impl UnwindSafe for winsize
Blanket Implementations
impl<T> Any for winsize
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for winsize
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for winsize
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for winsize
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for winsize
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for winsize
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for winsize
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for winsize
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>