pub struct Open {
pub id: String,
pub mode: Option<Mode>,
pub title: Option<String>,
pub role: Option<String>,
pub listen: Option<bool>,
pub adopt: Option<bool>,
pub closable: Option<bool>,
pub font: Option<Font>,
}Expand description
An o message: open a surface.
Fields§
§id: StringThe surface id; frames and events carry it as sf.
mode: Option<Mode>The mode (inline when absent).
title: Option<String>Names the pane until the program sets its own title.
role: Option<String>data-surface on the region elements, for stylesheets.
listen: Option<bool>false: the program never reads its input.
adopt: Option<bool>true reopens a closed inline surface with this id.
closable: Option<bool>true: closing the pane loses nothing, so Tern closes it without
asking.
font: Option<Font>The surface’s base face (mono when absent).
Trait Implementations§
impl Eq for Open
impl StructuralPartialEq for Open
Auto Trait Implementations§
impl Freeze for Open
impl RefUnwindSafe for Open
impl Send for Open
impl Sync for Open
impl Unpin for Open
impl UnsafeUnpin for Open
impl UnwindSafe for Open
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.