pub struct StorageEfficiency {
pub adjacency_list_size_bytes: usize,
pub edges_per_node: f64,
pub memory_overhead_ratio: f64,
pub sparsity: f64,
}Expand description
Storage and memory efficiency metrics
Fields§
§adjacency_list_size_bytes: usizeAdjacency list memory usage (bytes)
edges_per_node: f64Average edges per node
memory_overhead_ratio: f64Memory overhead ratio
sparsity: f64Sparsity coefficient
Trait Implementations§
Source§impl Clone for StorageEfficiency
impl Clone for StorageEfficiency
Source§fn clone(&self) -> StorageEfficiency
fn clone(&self) -> StorageEfficiency
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 StorageEfficiency
impl Debug for StorageEfficiency
Source§impl Default for StorageEfficiency
impl Default for StorageEfficiency
Source§fn default() -> StorageEfficiency
fn default() -> StorageEfficiency
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageEfficiency
impl<'de> Deserialize<'de> for StorageEfficiency
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 PartialEq for StorageEfficiency
impl PartialEq for StorageEfficiency
Source§impl Serialize for StorageEfficiency
impl Serialize for StorageEfficiency
impl StructuralPartialEq for StorageEfficiency
Auto Trait Implementations§
impl Freeze for StorageEfficiency
impl RefUnwindSafe for StorageEfficiency
impl Send for StorageEfficiency
impl Sync for StorageEfficiency
impl Unpin for StorageEfficiency
impl UnwindSafe for StorageEfficiency
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<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