/// Takes a snapshot of the stats and writes them to the given parent.
Takes a snapshot of the stats and writes them to the given parent.
Takes a snapshot of the stats and writes them to the given parent .
pub fn snapshot(inspector: &Inspector, parent: &super::Node) -> Self {
        let node = parent.create_child(FUCHSIA_INSPECT_STATS);
        if let Some(state) = inspector.state() {
            write_stats(&state, &node);
        }
        Self { inner: node }
    }
pub fn snapshot ( inspector : & Inspector , parent : & super :: Node ) -> Self { let node = parent . create_child ( FUCHSIA_INSPECT_STATS ) ; if let Some ( state ) = inspector . state ( ) { write_stats ( & state , & node ) ; } Self { inner : node } }
Takes a snapshot of the stats and writes them to the given parent.
Takes a snapshot of the stats and writes them to the given parent .
inspector
&Inspector
parent
&super::Node