#[repr(C)]pub struct SizeReportSize {
pub rows: u16,
pub columns: u16,
pub cell_width: u32,
pub cell_height: u32,
}Expand description
Terminal size information for encoding size reports.
Fields§
§rows: u16Terminal row count in cells.
columns: u16Terminal column count in cells.
cell_width: u32Width of a single terminal cell in pixels.
cell_height: u32Height of a single terminal cell in pixels.
Trait Implementations§
Source§impl Clone for SizeReportSize
impl Clone for SizeReportSize
impl Copy for SizeReportSize
Source§impl Debug for SizeReportSize
impl Debug for SizeReportSize
Auto Trait Implementations§
impl Freeze for SizeReportSize
impl RefUnwindSafe for SizeReportSize
impl Send for SizeReportSize
impl Sync for SizeReportSize
impl Unpin for SizeReportSize
impl UnsafeUnpin for SizeReportSize
impl UnwindSafe for SizeReportSize
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