#[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
Source§fn clone(&self) -> SizeReportSize
fn clone(&self) -> SizeReportSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SizeReportSize
Source§impl Debug for SizeReportSize
impl Debug for SizeReportSize
Source§impl Default for SizeReportSize
impl Default for SizeReportSize
Source§fn default() -> SizeReportSize
fn default() -> SizeReportSize
Returns the “default value” for a type. Read more
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