pub struct MainPanelProps {
pub on_settings: Callback<()>,
pub on_reset: Callback<bool>,
pub session_props: SessionProps,
pub renderer_props: RendererProps,
pub presentation_props: PresentationProps,
pub is_settings_open: bool,
pub update_count: u32,
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.
session_props: SessionPropsSnapshots threaded from root. Read for has_table, title here in
the panel itself; threaded wholesale to StatusBar/StatusIndicator.
renderer_props: RendererProps§presentation_props: PresentationProps§is_settings_open: boolDerived from root: settings_open && has_table_loaded.
update_count: u32Root-managed in-flight render counter (not engine state).
session: SessionState
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 (const: unstable) · 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.