pub fn selected_tab_signal(&self) -> impl Signal<Item = Mutable<Option<MenuTabKind>>> {
        self.trace_index_signal()
            .map(|index| index.is_some())
            .dedupe()
            .map(|has_index| {
                if has_index {
                    let kind = match crate::debug::settings().interaction_tab {
                        Some(kind) => kind,
                        None => MenuTabKind::Audio,
                    };
                    Mutable::new(Some(kind))
                } else {
                    Mutable::new(None)
                }
            })
    }
//The tab kind state is re-generated when selecting or deselecting a trace
The tab kind state is re-generated when selecting or deselecting a trace
The tab kind state is re - generated when selecting or deselecting a trace
pub fn selected_tab_signal(&self) -> impl Signal<Item = Mutable<Option<MenuTabKind>>> {
        self.trace_index_signal()
            .map(|index| index.is_some())
            .dedupe()
            .map(|has_index| {
                if has_index {
                    let kind = match crate::debug::settings().interaction_tab {
                        Some(kind) => kind,
                        None => MenuTabKind::Audio,
                    };
                    Mutable::new(Some(kind))
                } else {
                    Mutable::new(None)
                }
            })
    }
pub fn selected_tab_signal ( & self ) -> impl Signal < Item = Mutable < Option < MenuTabKind > > > { self . trace_index_signal ( ) . map ( | index | index . is_some ( ) ) . dedupe ( ) . map ( | has_index | { if has_index { let kind = match crate :: debug :: settings ( ) . interaction_tab { Some ( kind ) => kind , None => MenuTabKind :: Audio , } ; Mutable :: new ( Some ( kind ) ) } else { Mutable :: new ( None ) } } ) }
The tab kind state is re-generated when selecting or deselecting a trace
The tab kind state is re - generated when selecting or deselecting a trace
&self
&self