Struct tantivy_common::ByteCount
source · pub struct ByteCount(/* private fields */);
Expand description
Indicates space usage in bytes
Implementations§
Trait Implementations§
source§impl AddAssign for ByteCount
impl AddAssign for ByteCount
source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
Performs the
+=
operation. Read moresource§impl<'de> Deserialize<'de> for ByteCount
impl<'de> Deserialize<'de> for ByteCount
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 Ord for ByteCount
impl Ord for ByteCount
source§impl PartialEq for ByteCount
impl PartialEq for ByteCount
source§impl PartialOrd<u64> for ByteCount
impl PartialOrd<u64> for ByteCount
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd for ByteCount
impl PartialOrd for ByteCount
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ByteCount
impl Eq for ByteCount
impl StructuralPartialEq for ByteCount
Auto Trait Implementations§
impl Freeze for ByteCount
impl RefUnwindSafe for ByteCount
impl Send for ByteCount
impl Sync for ByteCount
impl Unpin for ByteCount
impl UnwindSafe for ByteCount
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