#[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_ushort
ws_col: c_ushort
ws_xpixel: c_ushort
ws_ypixel: c_ushort
Trait Implementations
sourceimpl Hash for winsize
impl Hash for winsize
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moreimpl Copy for winsize
impl Eq for winsize
impl StructuralEq for winsize
impl StructuralPartialEq for winsize
Auto Trait Implementations
impl RefUnwindSafe for winsize
impl Send for winsize
impl Sync for winsize
impl Unpin for winsize
impl UnwindSafe for winsize
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more