pub struct TrainingView {
pub session: Option<TrainingSession>,
pub show_details: bool,
}Expand description
Training progress view state
Fields§
§session: Option<TrainingSession>Current training session
show_details: boolShow detailed metrics
Implementations§
Source§impl TrainingView
impl TrainingView
Sourcepub fn load_demo_session(&mut self)
pub fn load_demo_session(&mut self)
Load a demo training session for visualization
Sourcepub fn toggle_details(&mut self)
pub fn toggle_details(&mut self)
Toggle detailed view
Sourcepub fn toggle_pause(&mut self)
pub fn toggle_pause(&mut self)
Pause/resume training
Sourcepub fn scroll_down(&mut self)
pub fn scroll_down(&mut self)
Scroll down in the metrics history
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrainingView
impl RefUnwindSafe for TrainingView
impl Send for TrainingView
impl Sync for TrainingView
impl Unpin for TrainingView
impl UnwindSafe for TrainingView
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> 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