pub fn downgrade(&self) -> WeakFxNode {
        match self {
            FxNode::Dir(dir) => WeakFxNode::Dir(Arc::downgrade(dir)),
            FxNode::File(file) => WeakFxNode::File(Arc::downgrade(file)),
        }
    }
/// Creates a weak copy of self.
Creates a weak copy of self.
Creates a weak copy of self .
pub fn downgrade(&self) -> WeakFxNode {
        match self {
            FxNode::Dir(dir) => WeakFxNode::Dir(Arc::downgrade(dir)),
            FxNode::File(file) => WeakFxNode::File(Arc::downgrade(file)),
        }
    }
pub fn downgrade ( & self ) -> WeakFxNode { match self { FxNode :: Dir ( dir ) => WeakFxNode :: Dir ( Arc :: downgrade ( dir ) ) , FxNode :: File ( file ) => WeakFxNode :: File ( Arc :: downgrade ( file ) ) , } }
Creates a weak copy of self.
Creates a weak copy of self .
&self
&self