Enum MultiProgressAlignment
enum MultiProgressAlignment
Vertical alignment of a multi progress.
The alignment controls how the multi progress is aligned if some of its progress bars get removed.
E.g. Top alignment (default), when progress bar 2 is removed:
[0/100] progress bar 1 [0/100] progress bar 1
[0/100] progress bar 2 => [0/100] progress bar 3
[0/100] progress bar 3
Bottom alignment
[0/100] progress bar 1
[0/100] progress bar 2 => [0/100] progress bar 1
[0/100] progress bar 3 [0/100] progress bar 3
Variants
-
Top -
Bottom
Implementations
impl Clone for MultiProgressAlignment
fn clone(self: &Self) -> MultiProgressAlignment
impl Copy for MultiProgressAlignment
impl Debug for MultiProgressAlignment
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for MultiProgressAlignment
fn default() -> MultiProgressAlignment
impl Freeze for MultiProgressAlignment
impl RefUnwindSafe for MultiProgressAlignment
impl Send for MultiProgressAlignment
impl Sync for MultiProgressAlignment
impl Unpin for MultiProgressAlignment
impl UnsafeUnpin for MultiProgressAlignment
impl UnwindSafe for MultiProgressAlignment
impl<T> Any for MultiProgressAlignment
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for MultiProgressAlignment
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for MultiProgressAlignment
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for MultiProgressAlignment
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for MultiProgressAlignment
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for MultiProgressAlignment
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for MultiProgressAlignment
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for MultiProgressAlignment
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for MultiProgressAlignment
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>