#[repr(C)]pub struct GhosttyTerminalOptions {
pub cols: u16,
pub rows: u16,
pub max_scrollback: usize,
}Expand description
Terminal initialization options.
@ingroup terminal
Fields§
§cols: u16Terminal width in cells. Must be greater than zero.
rows: u16Terminal height in cells. Must be greater than zero.
max_scrollback: usizeMaximum number of lines to keep in scrollback history.
Trait Implementations§
Source§impl Clone for GhosttyTerminalOptions
impl Clone for GhosttyTerminalOptions
Source§fn clone(&self) -> GhosttyTerminalOptions
fn clone(&self) -> GhosttyTerminalOptions
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 GhosttyTerminalOptions
impl Debug for GhosttyTerminalOptions
Source§impl Default for GhosttyTerminalOptions
impl Default for GhosttyTerminalOptions
Source§fn default() -> GhosttyTerminalOptions
fn default() -> GhosttyTerminalOptions
Returns the “default value” for a type. Read more
impl Copy for GhosttyTerminalOptions
Auto Trait Implementations§
impl Freeze for GhosttyTerminalOptions
impl RefUnwindSafe for GhosttyTerminalOptions
impl Send for GhosttyTerminalOptions
impl Sync for GhosttyTerminalOptions
impl Unpin for GhosttyTerminalOptions
impl UnsafeUnpin for GhosttyTerminalOptions
impl UnwindSafe for GhosttyTerminalOptions
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