pub struct JupyterWidgetManager { /* private fields */ }Expand description
Jupyter widget manager for creating and managing debug widgets
Implementations§
Source§impl JupyterWidgetManager
impl JupyterWidgetManager
Sourcepub fn connect_to_kernel(&mut self, connection_info: String) -> Result<()>
pub fn connect_to_kernel(&mut self, connection_info: String) -> Result<()>
Connect to Jupyter kernel
Sourcepub fn create_widget(&mut self, config: JupyterWidgetConfig) -> Result<String>
pub fn create_widget(&mut self, config: JupyterWidgetConfig) -> Result<String>
Create a new Jupyter widget
Sourcepub fn update_widget(
&mut self,
widget_id: &str,
data: JupyterWidgetData,
) -> Result<()>
pub fn update_widget( &mut self, widget_id: &str, data: JupyterWidgetData, ) -> Result<()>
Update an existing widget with new data
Sourcepub fn remove_widget(&mut self, widget_id: &str) -> Result<()>
pub fn remove_widget(&mut self, widget_id: &str) -> Result<()>
Remove a widget
Sourcepub fn create_plot_widget(
&mut self,
title: &str,
plot_data: &PlotData,
) -> Result<String>
pub fn create_plot_widget( &mut self, title: &str, plot_data: &PlotData, ) -> Result<String>
Create a plot widget for tensor visualization
Sourcepub fn create_metrics_dashboard(&mut self, title: &str) -> Result<String>
pub fn create_metrics_dashboard(&mut self, title: &str) -> Result<String>
Create a metrics dashboard widget
Sourcepub fn create_gradient_flow_widget(&mut self, title: &str) -> Result<String>
pub fn create_gradient_flow_widget(&mut self, title: &str) -> Result<String>
Create a gradient flow widget
Sourcepub fn create_debug_console(&mut self, title: &str) -> Result<String>
pub fn create_debug_console(&mut self, title: &str) -> Result<String>
Create a debug console widget
Sourcepub fn create_debug_dashboard(&mut self) -> Result<Vec<String>>
pub fn create_debug_dashboard(&mut self) -> Result<Vec<String>>
Create a comprehensive debugging dashboard
Sourcepub fn get_active_widgets(&self) -> Vec<&JupyterWidgetConfig>
pub fn get_active_widgets(&self) -> Vec<&JupyterWidgetConfig>
Get all active widgets
Sourcepub fn is_kernel_connected(&self) -> bool
pub fn is_kernel_connected(&self) -> bool
Check if kernel is connected
Sourcepub fn get_widget(&self, widget_id: &str) -> Option<&JupyterWidgetConfig>
pub fn get_widget(&self, widget_id: &str) -> Option<&JupyterWidgetConfig>
Get widget by ID
Trait Implementations§
Source§impl Debug for JupyterWidgetManager
impl Debug for JupyterWidgetManager
Auto Trait Implementations§
impl Freeze for JupyterWidgetManager
impl RefUnwindSafe for JupyterWidgetManager
impl Send for JupyterWidgetManager
impl Sync for JupyterWidgetManager
impl Unpin for JupyterWidgetManager
impl UnsafeUnpin for JupyterWidgetManager
impl UnwindSafe for JupyterWidgetManager
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> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.