pub struct TrimResult {
pub before_bytes: usize,
pub after_bytes: usize,
}Fields§
§before_bytes: usize§after_bytes: usizeImplementations§
Source§impl TrimResult
impl TrimResult
pub const fn released_bytes(self) -> usize
Trait Implementations§
Source§impl Clone for TrimResult
impl Clone for TrimResult
Source§fn clone(&self) -> TrimResult
fn clone(&self) -> TrimResult
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 moreimpl Copy for TrimResult
Source§impl Debug for TrimResult
impl Debug for TrimResult
Source§impl Default for TrimResult
impl Default for TrimResult
Source§fn default() -> TrimResult
fn default() -> TrimResult
Returns the “default value” for a type. Read more
impl Eq for TrimResult
Source§impl PartialEq for TrimResult
impl PartialEq for TrimResult
impl StructuralPartialEq for TrimResult
Auto Trait Implementations§
impl Freeze for TrimResult
impl RefUnwindSafe for TrimResult
impl Send for TrimResult
impl Sync for TrimResult
impl Unpin for TrimResult
impl UnsafeUnpin for TrimResult
impl UnwindSafe for TrimResult
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