pub(in router) fn borrow_mut_child(
        &mut self,
        segment: &str,
        segment_type: SegmentType,
    ) -> Option<&mut NodeBuilder> {
        self.children
            .iter_mut()
            .find(|n| n.segment_type == segment_type && n.segment == segment)
    }
/// Mutably borrow a child that represents the exact segment provided here.
Mutably borrow a child that represents the exact segment provided here.
Mutably borrow a child that represents the exact segment provided here .
pub(in router) fn borrow_mut_child(
        &mut self,
        segment: &str,
        segment_type: SegmentType,
    ) -> Option<&mut NodeBuilder> {
        self.children
            .iter_mut()
            .find(|n| n.segment_type == segment_type && n.segment == segment)
    }
pub ( in router ) fn borrow_mut_child ( & mut self , segment : & str , segment_type : SegmentType , ) -> Option < & mut NodeBuilder > { self . children . iter_mut ( ) . find ( | n | n . segment_type == segment_type && n . segment == segment ) }
Mutably borrow a child that represents the exact segment provided here.
Mutably borrow a child that represents the exact segment provided here .
&mut self
segment
&str
segment_type
SegmentType
&mut self
segment
&str
segment_type
SegmentType