pub struct UiPane {
pub id: String,
pub title: String,
pub plugin: String,
pub close_on_escape: Option<bool>,
pub hold_toasts: Option<bool>,
pub rows: Option<u64>,
pub columns: Option<u64>,
}Expand description
One placed pane in a UiPanesMessage roster.
Fields§
§id: StringThe pane’s id as the plugin opened it: 1 to 64 of letters, digits,
_, -.
title: StringThe pane’s tab label: the title its latest open gave, else its id.
Plugin-authored text: draw it as a text node, never as markup.
plugin: StringThe registry name of the plugin that opened it.
close_on_escape: Option<bool>true: Escape while the pane holds the keyboard, or at an idle empty
composer, closes it. Absent, Escape only returns the keyboard.
hold_toasts: Option<bool>true: the surface holds its transient toasts while this pane is
the one shown, and shows them once it closes.
rows: Option<u64>The body rows its content asked for while seated inline; a request the person’s own sizing overrides.
columns: Option<u64>The body columns its content asked for while docked; a request the person’s own sizing overrides.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiPane
impl<'de> Deserialize<'de> for UiPane
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
impl Eq for UiPane
impl StructuralPartialEq for UiPane
Auto Trait Implementations§
impl Freeze for UiPane
impl RefUnwindSafe for UiPane
impl Send for UiPane
impl Sync for UiPane
impl Unpin for UiPane
impl UnsafeUnpin for UiPane
impl UnwindSafe for UiPane
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