pub struct StatusBarProps {
pub id: String,
pub on_reset: Callback<bool>,
pub on_settings: Option<Callback<()>>,
pub session_props: SessionProps,
pub presentation_props: PresentationProps,
pub is_settings_open: bool,
pub update_count: u32,
pub session: Session,
pub renderer: Renderer,
pub presentation: Presentation,
}Fields§
§id: String§on_reset: Callback<bool>Fired when the reset button is clicked.
on_settings: Option<Callback<()>>Fires when the settings button is clicked
session_props: SessionPropsSnapshots threaded from root. Component reads has_table, stats,
error, title from session_props; selected_theme,
available_themes, is_workspace from presentation_props.
presentation_props: PresentationProps§is_settings_open: boolDerived from root: settings_open && has_table_loaded. Used
here to drive the title-input enabled state and the theme picker
visibility.
update_count: u32In-flight render counter, threaded to StatusIndicator.
session: Session§renderer: Renderer§presentation: PresentationTrait Implementations§
Source§impl Clone for StatusBarProps
impl Clone for StatusBarProps
Source§fn clone(&self) -> StatusBarProps
fn clone(&self) -> StatusBarProps
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 StatusBarProps
impl PartialEq for StatusBarProps
Auto Trait Implementations§
impl !RefUnwindSafe for StatusBarProps
impl !Send for StatusBarProps
impl !Sync for StatusBarProps
impl !UnwindSafe for StatusBarProps
impl Freeze for StatusBarProps
impl Unpin for StatusBarProps
impl UnsafeUnpin for StatusBarProps
Blanket Implementations§
impl<Token, Builder, How> AllPropsFor<Builder, How> for Tokenwhere
Builder: Buildable<Token>,
<Builder as Buildable<Token>>::WrappedToken: HasAllProps<<Builder as Buildable<Token>>::Output, How>,
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,
impl<T> HasAllProps<(), T> for T
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.