pub struct BytesAndNodes {
pub bytes: i64,
pub nodes: i64,
}Expand description
Storage for a pair of related byte and node values.
Fields§
§bytes: i64§nodes: i64Implementations§
Trait Implementations§
Source§impl Add for BytesAndNodes
impl Add for BytesAndNodes
Source§impl AddAssign for BytesAndNodes
impl AddAssign for BytesAndNodes
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl Clone for BytesAndNodes
impl Clone for BytesAndNodes
Source§fn clone(&self) -> BytesAndNodes
fn clone(&self) -> BytesAndNodes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BytesAndNodes
Source§impl Debug for BytesAndNodes
impl Debug for BytesAndNodes
Source§impl Default for BytesAndNodes
impl Default for BytesAndNodes
Source§fn default() -> BytesAndNodes
fn default() -> BytesAndNodes
Returns the “default value” for a type. Read more
impl Eq for BytesAndNodes
Source§impl From<BytesAndNodes> for ObjectValue
impl From<BytesAndNodes> for ObjectValue
Source§fn from(value: BytesAndNodes) -> Self
fn from(value: BytesAndNodes) -> Self
Converts to this type from the input type.
Source§impl From<BytesAndNodes> for (i64, i64)
impl From<BytesAndNodes> for (i64, i64)
Source§fn from(value: BytesAndNodes) -> Self
fn from(value: BytesAndNodes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BytesAndNodes
impl PartialEq for BytesAndNodes
impl StructuralPartialEq for BytesAndNodes
Auto Trait Implementations§
impl Freeze for BytesAndNodes
impl RefUnwindSafe for BytesAndNodes
impl Send for BytesAndNodes
impl Sync for BytesAndNodes
impl Unpin for BytesAndNodes
impl UnsafeUnpin for BytesAndNodes
impl UnwindSafe for BytesAndNodes
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,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
impl<F, N> FidlIntoNative<Box<N>> for Fwhere
F: FidlIntoNative<N>,
fn fidl_into_native(self) -> Box<N>
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