pub fn send_perf_breakdown(section: impl ToString, id: impl ToString, name: impl ToString, breakdown: Vec<(String, f64)>) {
    DEBUG_INFO.read().unwrap().as_ref().map(|sender| {
        sender
            .send(DebugInfoUnit {
                section: section.to_string(),
                id: id.to_string(),
                part: DebugInfoPart::PerfBreakdown(name.to_string(), breakdown),
            })
            .unwrap()
    });
}
/// Send a debug info performance breakdown
Send a debug info performance breakdown
Send a debug info performance breakdown
pub fn send_perf_breakdown(section: impl ToString, id: impl ToString, name: impl ToString, breakdown: Vec<(String, f64)>) {
    DEBUG_INFO.read().unwrap().as_ref().map(|sender| {
        sender
            .send(DebugInfoUnit {
                section: section.to_string(),
                id: id.to_string(),
                part: DebugInfoPart::PerfBreakdown(name.to_string(), breakdown),
            })
            .unwrap()
    });
}
pub fn send_perf_breakdown ( section : impl ToString , id : impl ToString , name : impl ToString , breakdown : Vec < ( String , f64 ) > ) { DEBUG_INFO . read ( ) . unwrap ( ) . as_ref ( ) . map ( | sender | { sender . send ( DebugInfoUnit { section : section . to_string ( ) , id : id . to_string ( ) , part : DebugInfoPart :: PerfBreakdown ( name . to_string ( ) , breakdown ) , } ) . unwrap ( ) } ) ; }
Send a debug info performance breakdown
Send a debug info performance breakdown
section
impl ToString
id
impl ToString
name
impl ToString
breakdown
Vec<(String, f64)>
section
impl ToString
id
impl ToString
name
impl ToString
breakdown
Vec<(String, f64)>