pub struct ObjectSize(pub u64);Expand description
The size of a git object; a newtype wrapper around a u64
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ObjectSize
impl Clone for ObjectSize
Source§fn clone(&self) -> ObjectSize
fn clone(&self) -> ObjectSize
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 ObjectSize
impl Debug for ObjectSize
Source§impl PartialEq for ObjectSize
impl PartialEq for ObjectSize
impl Copy for ObjectSize
impl Eq for ObjectSize
impl StructuralPartialEq for ObjectSize
Auto Trait Implementations§
impl Freeze for ObjectSize
impl RefUnwindSafe for ObjectSize
impl Send for ObjectSize
impl Sync for ObjectSize
impl Unpin for ObjectSize
impl UnsafeUnpin for ObjectSize
impl UnwindSafe for ObjectSize
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