ToProgressBar

Trait ToProgressBar 

Source
pub trait ToProgressBar {
    type Output<'a>
       where Self: 'a;

    // Required method
    fn to_progressbar(&self) -> ProgressBar<Self::Output<'_>> ;
}

Required Associated Types§

Source

type Output<'a> where Self: 'a

Required Methods§

Source

fn to_progressbar(&self) -> ProgressBar<Self::Output<'_>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ToProgressBar for (usize, f32)

Source§

impl ToProgressBar for (usize, usize)

Source§

impl ToProgressBar for usize

Source§

impl<T> ToProgressBar for [T]

Source§

type Output<'a> = &'a T where Self: 'a

Source§

fn to_progressbar(&self) -> ProgressBar<Self::Output<'_>>

Implementors§