pub struct ExportPanel {
pub state: PanelState,
}Fields§
§state: PanelStateImplementations§
Source§impl ExportPanel
impl ExportPanel
pub const SNAPSHOT_CSV_LABEL: &'static str = "🖹 Snapshot as CSV"
pub const SAVE_STATE_LABEL: &'static str = "📂 Save state..."
pub const LOAD_STATE_LABEL: &'static str = "📂 Load state..."
Trait Implementations§
Source§impl Default for ExportPanel
impl Default for ExportPanel
Source§impl Panel for ExportPanel
impl Panel for ExportPanel
fn state(&self) -> &PanelState
fn state_mut(&mut self) -> &mut PanelState
Source§fn hotkey_name(&self) -> Option<HotkeyName>
fn hotkey_name(&self) -> Option<HotkeyName>
Return the
HotkeyName associated with this panel, if any. Read moreRender the panel’s top-bar menu button. Read more
fn title(&self) -> &'static str
Source§fn icon_only(&self) -> Option<&'static str>
fn icon_only(&self) -> Option<&'static str>
Icon only: returns Optional icon glyph that can be used in compact UI tabs.
Source§fn title_and_icon(&self) -> String
fn title_and_icon(&self) -> String
Title combined with optional icon (e.g., “⌨️ Hotkeys”). Returns an owned String so callers
can use it directly in
ui.button, ui.label, etc.fn render_panel(&mut self, _ui: &mut Ui, _data: &mut LivePlotData<'_>)
fn draw( &mut self, _plot_ui: &mut PlotUi<'_>, _scope: &ScopeData, _traces: &TracesCollection, )
fn update_data(&mut self, _data: &mut LivePlotData<'_>)
Source§fn clear_all(&mut self)
fn clear_all(&mut self)
Clear all internal runtime state / events / buffers specific to the panel.
Default: no-op. Panels with internal collections override this.
Source§fn settings_snapshot(&self, _data: &LivePlotData<'_>) -> Option<String>
fn settings_snapshot(&self, _data: &LivePlotData<'_>) -> Option<String>
Returns a lightweight serialized snapshot of this panel’s settings
for undo change detection. Returns
None for panels with no
serializable settings (e.g. export panel, hotkeys panel). Read morefn show_detached_dialog(&mut self, ctx: &Context, data: &mut LivePlotData<'_>)
Auto Trait Implementations§
impl Freeze for ExportPanel
impl RefUnwindSafe for ExportPanel
impl Send for ExportPanel
impl Sync for ExportPanel
impl Unpin for ExportPanel
impl UnsafeUnpin for ExportPanel
impl UnwindSafe for ExportPanel
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync 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> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().