pub struct CountOrBytes {
pub count: usize,
pub bytes: usize,
}Fields§
§count: usize§bytes: usizeImplementations§
Source§impl CountOrBytes
impl CountOrBytes
pub const ZERO: CountOrBytes
pub const MAX: CountOrBytes
Trait Implementations§
Source§impl Clone for CountOrBytes
impl Clone for CountOrBytes
Source§fn clone(&self) -> CountOrBytes
fn clone(&self) -> CountOrBytes
Returns a duplicate of the value. Read more
1.0.0 · 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 CountOrBytes
impl Debug for CountOrBytes
Source§impl Default for CountOrBytes
impl Default for CountOrBytes
Source§fn default() -> CountOrBytes
fn default() -> CountOrBytes
Returns the “default value” for a type. Read more
Source§impl Hash for CountOrBytes
impl Hash for CountOrBytes
Source§impl PartialEq for CountOrBytes
impl PartialEq for CountOrBytes
impl Copy for CountOrBytes
impl Eq for CountOrBytes
impl StructuralPartialEq for CountOrBytes
Auto Trait Implementations§
impl Freeze for CountOrBytes
impl RefUnwindSafe for CountOrBytes
impl Send for CountOrBytes
impl Sync for CountOrBytes
impl Unpin for CountOrBytes
impl UnwindSafe for CountOrBytes
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