pub struct ScreenSection {
pub modal_style: ModalStyle,
pub scrollback_rows: usize,
pub wheel_scroll_lines: u16,
}Expand description
Screen / TUI rendering preferences.
Fields§
§modal_style: ModalStyleHow modal dialogs render over the terminal stream.
scrollback_rows: usizeNumber of scrollback rows retained in the TUI buffer.
wheel_scroll_lines: u16Lines scrolled per mouse-wheel notch in the serial pane.
Values less than 1 are treated as 1 at runtime so the wheel always has a visible effect. v0.2 has no menu control for this — hand-edit the TOML to change it; a menu-editable control is deferred to v0.2.1.
Trait Implementations§
Source§impl Clone for ScreenSection
impl Clone for ScreenSection
Source§fn clone(&self) -> ScreenSection
fn clone(&self) -> ScreenSection
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 ScreenSection
impl Debug for ScreenSection
Source§impl Default for ScreenSection
impl Default for ScreenSection
Source§impl<'de> Deserialize<'de> for ScreenSectionwhere
ScreenSection: Default,
impl<'de> Deserialize<'de> for ScreenSectionwhere
ScreenSection: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ScreenSection
impl PartialEq for ScreenSection
Source§impl Serialize for ScreenSection
impl Serialize for ScreenSection
impl Eq for ScreenSection
impl StructuralPartialEq for ScreenSection
Auto Trait Implementations§
impl Freeze for ScreenSection
impl RefUnwindSafe for ScreenSection
impl Send for ScreenSection
impl Sync for ScreenSection
impl Unpin for ScreenSection
impl UnsafeUnpin for ScreenSection
impl UnwindSafe for ScreenSection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.