pub struct MainPanelProps {Show 17 fields
pub on_settings: Callback<()>,
pub on_reset: Callback<bool>,
pub render_limits: Option<RenderLimits>,
pub has_table: Option<TableLoadState>,
pub is_errored: bool,
pub stats: Option<ViewStats>,
pub update_count: u32,
pub error: Option<TableErrorState>,
pub title: Option<String>,
pub is_settings_open: bool,
pub selected_theme: Option<String>,
pub available_themes: PtrEqRc<Vec<String>>,
pub is_workspace: bool,
pub custom_events: CustomEvents,
pub session: Session,
pub renderer: Renderer,
pub presentation: Presentation,
}Fields§
§on_settings: Callback<()>§on_reset: Callback<bool>Reset callback forwarded from the root component. Fired when the user
clicks the reset button; bool is true for a full reset (expressions
- column configs),
falsefor config-only.
render_limits: Option<RenderLimits>Render-limit dimensions forwarded from the root’s RendererProps.
Some when the active plugin is capping the rendered row/column count;
None when no limits are active (e.g. after a plugin change).
has_table: Option<TableLoadState>Value props from root’s SessionProps, threaded to StatusBar /
StatusIndicator.
is_errored: bool§stats: Option<ViewStats>§update_count: u32§error: Option<TableErrorState>§title: Option<String>§is_settings_open: boolValue props from root’s PresentationProps, threaded to StatusBar.
selected_theme: Option<String>§available_themes: PtrEqRc<Vec<String>>§is_workspace: bool§custom_events: CustomEventsState
session: Session§renderer: Renderer§presentation: PresentationTrait Implementations§
Source§impl Clone for MainPanelProps
impl Clone for MainPanelProps
Source§fn clone(&self) -> MainPanelProps
fn clone(&self) -> MainPanelProps
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for MainPanelProps
impl PartialEq for MainPanelProps
Auto Trait Implementations§
impl Freeze for MainPanelProps
impl !RefUnwindSafe for MainPanelProps
impl !Send for MainPanelProps
impl !Sync for MainPanelProps
impl Unpin for MainPanelProps
impl UnsafeUnpin for MainPanelProps
impl !UnwindSafe for MainPanelProps
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.