pub struct TabList { /* private fields */ }
Expand description
safe access to TabList
Implementations§
Source§impl TabList
impl TabList
pub fn on_added<F>(&mut self, callback: F)
pub fn on_changed<F>(&mut self, callback: F)
pub fn on_removed<F>(&mut self, callback: F)
pub fn on_disconnected<F>(&mut self, callback: F)where
F: FnMut(&DisconnectedEvent) + 'static,
pub fn find_entry_by_nick_name( &self, search: &str, ) -> Option<Weak<TabListEntry>>
pub fn get(&self, id: u8) -> Option<Weak<TabListEntry>>
pub fn get_all(&self) -> Vec<(u8, Weak<TabListEntry>)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TabList
impl !RefUnwindSafe for TabList
impl !Send for TabList
impl !Sync for TabList
impl Unpin for TabList
impl !UnwindSafe for TabList
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more