pub struct Bucket {
pub label: String,
pub count: usize,
pub bytes: u64,
}Expand description
Named breakdown entry: (label, count, size in bytes).
Fields§
§label: StringName of the slice as it is shown, already formatted (FLAC, 44.1 kHz, 1970).
count: usizeHow many items fall into this slice.
bytes: u64Disk space these items occupy, saturating at u64::MAX if their sum exceeds it.
A breakdown can be read by weight and not only by number.
Trait Implementations§
impl StructuralPartialEq for Bucket
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnwindSafe for Bucket
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