#[repr(C)]pub struct GhosttySizeReportSize {
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 GhosttySizeReportSize
impl Clone for GhosttySizeReportSize
Source§fn clone(&self) -> GhosttySizeReportSize
fn clone(&self) -> GhosttySizeReportSize
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GhosttySizeReportSize
impl Debug for GhosttySizeReportSize
Source§impl Default for GhosttySizeReportSize
impl Default for GhosttySizeReportSize
Source§fn default() -> GhosttySizeReportSize
fn default() -> GhosttySizeReportSize
Returns the “default value” for a type. Read more
impl Copy for GhosttySizeReportSize
Auto Trait Implementations§
impl Freeze for GhosttySizeReportSize
impl RefUnwindSafe for GhosttySizeReportSize
impl Send for GhosttySizeReportSize
impl Sync for GhosttySizeReportSize
impl Unpin for GhosttySizeReportSize
impl UnsafeUnpin for GhosttySizeReportSize
impl UnwindSafe for GhosttySizeReportSize
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