pub fn with_active_tab(mut self, id: &str) -> Result<Self, Self> {
        match self.set_active_tab(id) {
            Ok(_) => Ok(self),
            Err(_) => Err(self),
        }
    }
/// Set the currently active (visible) tab.
/// If the tab id is not known, an error is returned and no action is performed.
///
/// This is the consumable variant.
Set the currently active (visible) tab.
If the tab id is not known, an error is returned and no action is performed.

This is the consumable variant.
Set the currently active ( visible ) tab . If the tab id is not known an error is returned and no action is performed . This is the consumable variant .
pub fn with_active_tab(mut self, id: &str) -> Result<Self, Self> {
        match self.set_active_tab(id) {
            Ok(_) => Ok(self),
            Err(_) => Err(self),
        }
    }
pub fn with_active_tab ( mut self , id : & str ) -> Result < Self , Self > { match self . set_active_tab ( id ) { Ok ( _ ) => Ok ( self ) , Err ( _ ) => Err ( self ) , } }
Set the currently active (visible) tab.
Set the currently active ( visible ) tab .
mut self
id
&str