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