pub fn warn_if_debug_build(ui: &mut crate::Ui) {
    if cfg!(debug_assertions) {
        ui.label(
            RichText::new("‼ Debug build ‼")
                .small()
                .color(crate::Color32::RED),
        )
        .on_hover_text("egui was compiled with debug assertions enabled.");
    }
}
/// Helper function that adds a label when compiling with debug assertions enabled.
Helper function that adds a label when compiling with debug assertions enabled.
Helper function that adds a label when compiling with debug assertions enabled .
pub fn warn_if_debug_build(ui: &mut crate::Ui) {
    if cfg!(debug_assertions) {
        ui.label(
            RichText::new("‼ Debug build ‼")
                .small()
                .color(crate::Color32::RED),
        )
        .on_hover_text("egui was compiled with debug assertions enabled.");
    }
}
pub fn warn_if_debug_build ( ui : & mut crate :: Ui ) { if cfg ! ( debug_assertions ) { ui . label ( RichText :: new ( " . small ( ) . color ( crate :: Color32 :: RED ) , ) . on_hover_text ( " " ) ; } }
Helper function that adds a label when compiling with debug assertions enabled.
Helper function that adds a label when compiling with debug assertions enabled .
ui
&mut crate::Ui
ui
&mut crate::Ui