[][src]Struct clock_cli::tui::StopwatchView

pub struct StopwatchView { /* fields omitted */ }

Implementations

impl StopwatchView[src]

pub fn new() -> Self[src]

pub fn with_laps(self, n: usize) -> Self[src]

pub fn set_on_stop<F, R>(&mut self, cb: F) where
    F: 'static + Fn(&mut Cursive, StopwatchData) -> R, 
[src]

pub fn on_stop<F, R>(self, cb: F) -> Self where
    F: 'static + Fn(&mut Cursive, StopwatchData) -> R, 
[src]

Trait Implementations

impl Default for StopwatchView[src]

impl View for StopwatchView[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AnyView for T where
    T: View, 

fn as_any(&self) -> &(dyn Any + 'static)

Downcast self to a Any.

fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)

Downcast self to a mutable Any.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> Finder for T where
    T: View, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoBoxedView for T where
    T: View, 

impl<T> Nameable for T where
    T: View, 

impl<T> Resizable for T where
    T: View, 

impl<T> Scrollable for T where
    T: View, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> View for T where
    T: ViewWrapper, 

impl<T> With for T