pub enum PerspectiveViewerMsg {
Show 20 variants
ColumnSettingsPanelSizeUpdate(Option<i32>),
ColumnSettingsTabChanged(ColumnSettingsTab),
OpenColumnSettings {
locator: Option<ColumnLocator>,
sender: Option<Sender<()>>,
toggle: bool,
},
PreloadFontsUpdate,
Reset(bool, Option<Sender<()>>),
Resize,
SettingsPanelSizeUpdate(Option<i32>),
ToggleDebug,
ToggleSettingsComplete(SettingsUpdate, Sender<()>),
ToggleSettingsInit(Option<SettingsUpdate>, Option<Sender<ApiResult<JsValue>>>),
UpdateSession(Box<SessionProps>),
UpdateRenderer(Box<RendererProps>),
UpdatePresentation(Box<PresentationProps>),
UpdateSettingsOpen(bool),
UpdateIsWorkspace(bool),
UpdateColumnSettings(Box<OpenColumnSettings>),
UpdateDragDrop(Box<DragDropProps>),
UpdateSessionStats(Option<ViewStats>, Option<TableLoadState>),
IncrementUpdateCount,
DecrementUpdateCount,
}Variants§
ColumnSettingsPanelSizeUpdate(Option<i32>)
ColumnSettingsTabChanged(ColumnSettingsTab)
OpenColumnSettings
PreloadFontsUpdate
Reset(bool, Option<Sender<()>>)
Resize
SettingsPanelSizeUpdate(Option<i32>)
ToggleDebug
ToggleSettingsComplete(SettingsUpdate, Sender<()>)
ToggleSettingsInit(Option<SettingsUpdate>, Option<Sender<ApiResult<JsValue>>>)
UpdateSession(Box<SessionProps>)
UpdateRenderer(Box<RendererProps>)
UpdatePresentation(Box<PresentationProps>)
UpdateSettingsOpen(bool)
Update only is_settings_open in the presentation snapshot without
touching available_themes (which requires async data).
UpdateIsWorkspace(bool)
UpdateColumnSettings(Box<OpenColumnSettings>)
Update only open_column_settings in the presentation snapshot.
UpdateDragDrop(Box<DragDropProps>)
UpdateSessionStats(Option<ViewStats>, Option<TableLoadState>)
Update only stats-related fields of session_props without touching
config. This prevents stats_changed events (e.g. from reset())
from propagating a freshly-cleared config to the column selector.
IncrementUpdateCount
Increment/decrement the in-flight render counter threaded to
StatusIndicator so it can show the “updating” spinner.
DecrementUpdateCount
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PerspectiveViewerMsg
impl !RefUnwindSafe for PerspectiveViewerMsg
impl !Send for PerspectiveViewerMsg
impl !Sync for PerspectiveViewerMsg
impl Unpin for PerspectiveViewerMsg
impl UnsafeUnpin for PerspectiveViewerMsg
impl !UnwindSafe for PerspectiveViewerMsg
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 moreSource§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.