pub struct Progress<T = MessageRef>(/* private fields */);
Implementations§
source§impl Progress
impl Progress
pub fn new(type_: ProgressType, code: &str, text: &str) -> Message
pub fn builder<'a>( type_: ProgressType, code: &'a str, text: &'a str ) -> ProgressBuilder<'a>
pub fn get(&self) -> (ProgressType, &str, &str)
Trait Implementations§
Auto Trait Implementations§
impl<T> RefUnwindSafe for Progress<T>where
T: RefUnwindSafe,
impl<T> Send for Progress<T>where
T: Send,
impl<T> Sync for Progress<T>where
T: Sync,
impl<T> Unpin for Progress<T>where
T: Unpin,
impl<T> UnwindSafe for Progress<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more