pub fn send_debug_info(section: impl ToString, id: impl ToString, message: impl ToString) {
    DEBUG_INFO.read().unwrap().as_ref().map(|sender| {
        sender
            .send(DebugInfoUnit {
                section: section.to_string(),
                id: id.to_string(),
                part: DebugInfoPart::Message(message.to_string()),
            })
            .unwrap()
    });
}
/// Send a debug info message to the current `DebugInfo` if there is one
Send a debug info message to the current `DebugInfo` if there is one
Send a debug info message to the current ` DebugInfo ` if there is one
pub fn send_debug_info(section: impl ToString, id: impl ToString, message: impl ToString) {
    DEBUG_INFO.read().unwrap().as_ref().map(|sender| {
        sender
            .send(DebugInfoUnit {
                section: section.to_string(),
                id: id.to_string(),
                part: DebugInfoPart::Message(message.to_string()),
            })
            .unwrap()
    });
}
pub fn send_debug_info ( section : impl ToString , id : impl ToString , message : impl ToString ) { DEBUG_INFO . read ( ) . unwrap ( ) . as_ref ( ) . map ( | sender | { sender . send ( DebugInfoUnit { section : section . to_string ( ) , id : id . to_string ( ) , part : DebugInfoPart :: Message ( message . to_string ( ) ) , } ) . unwrap ( ) } ) ; }
Send a debug info message to the current `DebugInfo` if there is one
Send a debug info message to the current ` DebugInfo ` if there is one
section
impl ToString
id
impl ToString
message
impl ToString
section
impl ToString
id
impl ToString
message
impl ToString