pub struct CausalGraphStats {
pub num_nodes: usize,
pub num_edges: usize,
pub avg_out_degree: f32,
}Expand description
Statistics about causal graph
Fields§
§num_nodes: usizeNumber of nodes
num_edges: usizeNumber of edges
avg_out_degree: f32Average out-degree
Trait Implementations§
Source§impl Clone for CausalGraphStats
impl Clone for CausalGraphStats
Source§fn clone(&self) -> CausalGraphStats
fn clone(&self) -> CausalGraphStats
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 CausalGraphStats
impl Debug for CausalGraphStats
Source§impl<'de> Deserialize<'de> for CausalGraphStats
impl<'de> Deserialize<'de> for CausalGraphStats
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
Auto Trait Implementations§
impl Freeze for CausalGraphStats
impl RefUnwindSafe for CausalGraphStats
impl Send for CausalGraphStats
impl Sync for CausalGraphStats
impl Unpin for CausalGraphStats
impl UnwindSafe for CausalGraphStats
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