#[non_exhaustive]pub struct UiInfos {Show 14 fields
pub chan_id: Option<u32>,
pub ext_cmdline: bool,
pub ext_hlstate: bool,
pub ext_linegrid: bool,
pub ext_messages: bool,
pub ext_multigrid: bool,
pub ext_popupmenu: bool,
pub ext_tabline: bool,
pub ext_termcolors: bool,
pub ext_wildmenu: bool,
pub height: usize,
pub override: bool,
pub rgb: bool,
pub width: usize,
}
Expand description
Informations about an attached UI.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.chan_id: Option<u32>
Channel id or remote UI (not present for TUI).
ext_cmdline: bool
§ext_hlstate: bool
§ext_linegrid: bool
§ext_messages: bool
§ext_multigrid: bool
§ext_tabline: bool
§ext_termcolors: bool
§height: usize
Requested height of the UI.
override: bool
§rgb: bool
true
if the UI uses RGB colors.
width: usize
Requested height of the UI.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UiInfos
impl<'de> Deserialize<'de> for UiInfos
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 FromObject for UiInfos
impl FromObject for UiInfos
impl Eq for UiInfos
impl StructuralPartialEq for UiInfos
Auto Trait Implementations§
impl Freeze for UiInfos
impl RefUnwindSafe for UiInfos
impl Send for UiInfos
impl Sync for UiInfos
impl Unpin for UiInfos
impl UnwindSafe for UiInfos
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