pub fn new_current() -> Self {
        let (sender, receiver) = unbounded();
        *DEBUG_INFO.write().unwrap() = Some(sender);
        Self {
            receiver,
            sections: BTreeMap::new(),
            next_id: 0,
        }
    }
/// Create a new `DebugInfo` struct and make it the current one.
Create a new `DebugInfo` struct and make it the current one.
Create a new ` DebugInfo ` struct and make it the current one .
pub fn new_current() -> Self {
        let (sender, receiver) = unbounded();
        *DEBUG_INFO.write().unwrap() = Some(sender);
        Self {
            receiver,
            sections: BTreeMap::new(),
            next_id: 0,
        }
    }
pub fn new_current ( ) -> Self { let ( sender , receiver ) = unbounded ( ) ; * DEBUG_INFO . write ( ) . unwrap ( ) = Some ( sender ) ; Self { receiver , sections : BTreeMap :: new ( ) , next_id : 0 , } }
Create a new `DebugInfo` struct and make it the current one.
Create a new ` DebugInfo ` struct and make it the current one .