pub struct ProgressBlock {
pub kind: BlockKind,
pub text: String,
}Expand description
A single progress block returned by peek: kind + text summary (truncated per
configuration).
Fields§
§kind: BlockKind§text: StringTrait Implementations§
Source§impl Clone for ProgressBlock
impl Clone for ProgressBlock
Source§fn clone(&self) -> ProgressBlock
fn clone(&self) -> ProgressBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProgressBlock
impl Debug for ProgressBlock
impl Eq for ProgressBlock
Source§impl PartialEq for ProgressBlock
impl PartialEq for ProgressBlock
Source§fn eq(&self, other: &ProgressBlock) -> bool
fn eq(&self, other: &ProgressBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProgressBlock
Auto Trait Implementations§
impl Freeze for ProgressBlock
impl RefUnwindSafe for ProgressBlock
impl Send for ProgressBlock
impl Sync for ProgressBlock
impl Unpin for ProgressBlock
impl UnsafeUnpin for ProgressBlock
impl UnwindSafe for ProgressBlock
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