pub struct ObjectSize(/* private fields */);Implementations§
Trait Implementations§
Source§impl Add for ObjectSize
impl Add for ObjectSize
Source§impl Clone for ObjectSize
impl Clone for ObjectSize
Source§fn clone(&self) -> ObjectSize
fn clone(&self) -> ObjectSize
Returns a copy 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<'de> Deserialize<'de> for ObjectSize
impl<'de> Deserialize<'de> for ObjectSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ObjectSize
impl Display for ObjectSize
Source§impl From<ObjectSize> for usize
impl From<ObjectSize> for usize
Source§fn from(size: ObjectSize) -> Self
fn from(size: ObjectSize) -> Self
Converts to this type from the input type.
Source§impl From<usize> for ObjectSize
impl From<usize> for ObjectSize
Source§impl Hash for ObjectSize
impl Hash for ObjectSize
Source§impl PartialEq for ObjectSize
impl PartialEq for ObjectSize
Source§impl Serialize for ObjectSize
impl Serialize for ObjectSize
Source§impl Sub for ObjectSize
impl Sub 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 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