pub struct ProgressBuilder { /* private fields */ }Expand description
进度条构建器(Doc::progress 的闭包参数)。
Implementations§
Source§impl ProgressBuilder
impl ProgressBuilder
Sourcepub fn width_percent(&mut self, pct: f32) -> &mut Self
pub fn width_percent(&mut self, pct: f32) -> &mut Self
条宽(内容宽的百分比)。
Auto Trait Implementations§
impl Freeze for ProgressBuilder
impl RefUnwindSafe for ProgressBuilder
impl Send for ProgressBuilder
impl Sync for ProgressBuilder
impl Unpin for ProgressBuilder
impl UnsafeUnpin for ProgressBuilder
impl UnwindSafe for ProgressBuilder
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