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>,
}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.
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