pub struct InteractiveVisualizer { /* private fields */ }Expand description
Interactive visualizer with real-time capabilities
Implementations§
Source§impl InteractiveVisualizer
impl InteractiveVisualizer
Sourcepub fn new(config: PlotConfig) -> Self
pub fn new(config: PlotConfig) -> Self
Create new interactive visualizer
Sourcepub fn with_update_callback<F>(self, callback: F) -> Self
pub fn with_update_callback<F>(self, callback: F) -> Self
Set update callback function
Sourcepub fn update_data(&self, data: &ArrayView2<'_, Float>) -> SklResult<()>
pub fn update_data(&self, data: &ArrayView2<'_, Float>) -> SklResult<()>
Update visualization with new data
Sourcepub fn enable_real_time(&mut self, enabled: bool)
pub fn enable_real_time(&mut self, enabled: bool)
Enable real-time updates
Sourcepub fn config(&self) -> &PlotConfig
pub fn config(&self) -> &PlotConfig
Get current configuration
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InteractiveVisualizer
impl !UnwindSafe for InteractiveVisualizer
impl Freeze for InteractiveVisualizer
impl Send for InteractiveVisualizer
impl Sync for InteractiveVisualizer
impl Unpin for InteractiveVisualizer
impl UnsafeUnpin for InteractiveVisualizer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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 more