pub fn try_owned_vec(&self) -> Result<Vec<(T, Set<T>)>, CycleError>
    where
        T: Clone,
    {
        self.iter()
            .map(|result| result.map(|(node, depends)| (node.clone(), depends.clone())))
            .collect()
    }
/// Sort and return a vector (with owned/cloned nodes/dependencies) of the results. If a cycle is detected,
/// an error is returned instead
Sort and return a vector (with owned/cloned nodes/dependencies) of the results. If a cycle is detected,
an error is returned instead
Sort and return a vector ( with owned / cloned nodes / dependencies ) of the results . If a cycle is detected an error is returned instead
pub fn try_owned_vec(&self) -> Result<Vec<(T, Set<T>)>, CycleError>
    where
        T: Clone,
    {
        self.iter()
            .map(|result| result.map(|(node, depends)| (node.clone(), depends.clone())))
            .collect()
    }
pub fn try_owned_vec ( & self ) -> Result < Vec < ( T , Set < T > ) > , CycleError > where T : Clone , { self . iter ( ) . map ( | result | result . map ( | ( node , depends ) | ( node . clone ( ) , depends . clone ( ) ) ) ) . collect ( ) }
Sort and return a vector (with owned/cloned nodes/dependencies) of the results.
Sort and return a vector ( with owned / cloned nodes / dependencies ) of the results .
&self
&self