pub struct OffsetSize { /* private fields */ }Expand description
A item offset in binarycookies and it’s size.
Trait Implementations§
Source§impl Clone for OffsetSize
impl Clone for OffsetSize
Source§fn clone(&self) -> OffsetSize
fn clone(&self) -> OffsetSize
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 OffsetSize
impl Debug for OffsetSize
Source§impl Default for OffsetSize
impl Default for OffsetSize
Source§fn default() -> OffsetSize
fn default() -> OffsetSize
Returns the “default value” for a type. Read more
Source§impl Ord for OffsetSize
impl Ord for OffsetSize
Source§fn cmp(&self, other: &OffsetSize) -> Ordering
fn cmp(&self, other: &OffsetSize) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OffsetSize
impl PartialEq for OffsetSize
Source§impl PartialOrd for OffsetSize
impl PartialOrd for OffsetSize
impl Copy for OffsetSize
impl Eq for OffsetSize
impl StructuralPartialEq for OffsetSize
Auto Trait Implementations§
impl Freeze for OffsetSize
impl RefUnwindSafe for OffsetSize
impl Send for OffsetSize
impl Sync for OffsetSize
impl Unpin for OffsetSize
impl UnwindSafe for OffsetSize
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