[−][src]Struct progressing::BernoulliBar
Methods
impl BernoulliBar
[src]
pub fn from_goal(n: u32) -> BernoulliBar
[src]
Trait Implementations
impl Bar for BernoulliBar
[src]
type Progress = BernoulliProgress
fn bar_len(&self) -> usize
[src]
fn set_bar_len(&mut self, new_bar_len: usize)
[src]
fn set(&mut self, outcome: Self::Progress) -> &mut Self
[src]
fn add(&mut self, outcome: 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 Debug for BernoulliBar
[src]
impl Default for BernoulliBar
[src]
impl Display for BernoulliBar
[src]
Auto Trait Implementations
impl RefUnwindSafe for BernoulliBar
impl Send for BernoulliBar
impl Sync for BernoulliBar
impl Unpin for BernoulliBar
impl UnwindSafe for BernoulliBar
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>,