pub struct UIState {
pub scrollable_textarea: ScrollableTextArea,
pub title_popup: TitlePopup,
pub title_select_popup: TitleSelectPopup,
pub error_popup: UiPopup,
pub help_popup: UiPopup,
pub copy_popup: UiPopup,
pub edit_commands_popup: EditCommandsPopup,
pub code_block_popup: CodeBlockPopup,
pub clipboard: Option<EditorClipboard>,
pub last_draw: Instant,
pub config: ThothConfig,
}Fields§
§scrollable_textarea: ScrollableTextArea§title_popup: TitlePopup§title_select_popup: TitleSelectPopup§error_popup: UiPopup§help_popup: UiPopup§copy_popup: UiPopup§edit_commands_popup: EditCommandsPopup§code_block_popup: CodeBlockPopup§clipboard: Option<EditorClipboard>§last_draw: Instant§config: ThothConfigImplementations§
Auto Trait Implementations§
impl !RefUnwindSafe for UIState
impl !Send for UIState
impl !Sync for UIState
impl !UnwindSafe for UIState
impl Freeze for UIState
impl Unpin for UIState
impl UnsafeUnpin for UIState
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more