pub struct BlobNumBytes(/* private fields */);Expand description
Trait Implementations§
Source§impl Add for BlobNumBytes
impl Add for BlobNumBytes
Source§type Output = BlobNumBytes
type Output = BlobNumBytes
The resulting type after applying the
+ operator.Source§fn add(self, rhs: BlobNumBytes) -> BlobNumBytes
fn add(self, rhs: BlobNumBytes) -> BlobNumBytes
Performs the
+ operation. Read moreSource§impl AddAssign for BlobNumBytes
impl AddAssign for BlobNumBytes
Source§fn add_assign(&mut self, rhs: BlobNumBytes)
fn add_assign(&mut self, rhs: BlobNumBytes)
Performs the
+= operation. Read moreSource§impl Clone for BlobNumBytes
impl Clone for BlobNumBytes
Source§fn clone(&self) -> BlobNumBytes
fn clone(&self) -> BlobNumBytes
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 BlobNumBytes
impl Debug for BlobNumBytes
Source§impl Default for BlobNumBytes
impl Default for BlobNumBytes
Source§fn default() -> BlobNumBytes
fn default() -> BlobNumBytes
Returns the “default value” for a type. Read more
Source§impl From<usize> for BlobNumBytes
impl From<usize> for BlobNumBytes
Source§fn from(original: usize) -> BlobNumBytes
fn from(original: usize) -> BlobNumBytes
Converts to this type from the input type.
Source§impl MemoryUsage for BlobNumBytes
impl MemoryUsage for BlobNumBytes
Source§fn heap_usage(&self) -> usize
fn heap_usage(&self) -> usize
The heap memory usage of this type. The default implementation returns 0.
Source§impl PartialEq for BlobNumBytes
impl PartialEq for BlobNumBytes
Source§impl Sub for BlobNumBytes
impl Sub for BlobNumBytes
Source§type Output = BlobNumBytes
type Output = BlobNumBytes
The resulting type after applying the
- operator.Source§fn sub(self, rhs: BlobNumBytes) -> BlobNumBytes
fn sub(self, rhs: BlobNumBytes) -> BlobNumBytes
Performs the
- operation. Read moreSource§impl SubAssign for BlobNumBytes
impl SubAssign for BlobNumBytes
Source§fn sub_assign(&mut self, rhs: BlobNumBytes)
fn sub_assign(&mut self, rhs: BlobNumBytes)
Performs the
-= operation. Read moreimpl Copy for BlobNumBytes
impl Eq for BlobNumBytes
impl StructuralPartialEq for BlobNumBytes
Auto Trait Implementations§
impl Freeze for BlobNumBytes
impl RefUnwindSafe for BlobNumBytes
impl Send for BlobNumBytes
impl Sync for BlobNumBytes
impl Unpin for BlobNumBytes
impl UnwindSafe for BlobNumBytes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more