fn hash<'a>(g: &Graph, used: &S) -> u64 {
        use std::collections::hash_map::DefaultHasher;

        // construct a hasher and hash the big graph
        let mut h = DefaultHasher::default();
        g.hash(&mut h);
        used.hash(&mut h);

        // return the computed hash
        h.finish()
    }
/// Pre-calculate the hash of such a `State`
Pre-calculate the hash of such a `State`
Pre - calculate the hash of such a ` State `
fn hash<'a>(g: &Graph, used: &S) -> u64 {
        use std::collections::hash_map::DefaultHasher;
        // construct a hasher and hash the big graph
        let mut h = DefaultHasher::default();
        g.hash(&mut h);
        used.hash(&mut h);
        // return the computed hash
        h.finish()
    }
fn hash < ' a > ( g : & Graph , used : & S ) -> u64 { use std :: collections :: hash_map :: DefaultHasher ; // construct a hasher and hash the big graph let mut h = DefaultHasher :: default ( ) ; g . hash ( & mut h ) ; used . hash ( & mut h ) ; // return the computed hash h . finish ( ) }
Pre-calculate the hash of such a `State`
Pre - calculate the hash of such a ` State `
g
&Graph
used
&S