[−][src]Struct progressing::MappingBar
Methods
impl<N> MappingBar<N> where
MappingBar<N>: Default,
[src]
MappingBar<N>: Default,
pub fn new(range: RangeInclusive<N>) -> MappingBar<N>
[src]
Trait Implementations
impl Bar for MappingBar<u32>
[src]
type Progress = u32
fn bar_len(&self) -> usize
[src]
fn set_bar_len(&mut self, new_bar_len: usize)
[src]
fn set(&mut self, new_progress: Self::Progress) -> &mut Self
[src]
fn add(&mut self, delta: Self::Progress) -> &mut Self
[src]
fn display(&self) -> String
[src]
fn write_to_stdout<S: Into<String>>(&self, msg: S) -> Result<(), String>
[src]
fn print(&self) -> Result<(), String>
[src]
fn println(&self) -> Result<(), String>
[src]
fn reprint(&self) -> Result<(), String>
[src]
fn reprintln(&self) -> Result<(), String>
[src]
impl Bar for MappingBar<i32>
[src]
type Progress = i32
fn bar_len(&self) -> usize
[src]
fn set_bar_len(&mut self, new_bar_len: usize)
[src]
fn set(&mut self, new_progress: Self::Progress) -> &mut Self
[src]
fn add(&mut self, delta: Self::Progress) -> &mut Self
[src]
fn display(&self) -> String
[src]
fn write_to_stdout<S: Into<String>>(&self, msg: S) -> Result<(), String>
[src]
fn print(&self) -> Result<(), String>
[src]
fn println(&self) -> Result<(), String>
[src]
fn reprint(&self) -> Result<(), String>
[src]
fn reprintln(&self) -> Result<(), String>
[src]
impl<N: Debug> Debug for MappingBar<N>
[src]
impl Default for MappingBar<u32>
[src]
impl Default for MappingBar<i32>
[src]
impl Display for MappingBar<u32>
[src]
impl Display for MappingBar<i32>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for MappingBar<N> where
N: RefUnwindSafe,
N: RefUnwindSafe,
impl<N> Send for MappingBar<N> where
N: Send,
N: Send,
impl<N> Sync for MappingBar<N> where
N: Sync,
N: Sync,
impl<N> Unpin for MappingBar<N> where
N: Unpin,
N: Unpin,
impl<N> UnwindSafe for MappingBar<N> where
N: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,