pub struct Tabline {
tabs: Notebook,
state: Rc<RefCell<State>>,
switch_handler_id: SignalHandlerId,
}Fields
tabs: Notebookstate: Rc<RefCell<State>>switch_handler_id: SignalHandlerIdImplementations
sourceimpl Tabline
impl Tabline
pub fn new() -> Self
fn update_state(
&self,
nvim: &Rc<NeovimClient>,
selected: &Tabpage,
tabs: &[(Tabpage, Option<String>)]
)
pub fn update_tabs(
&self,
nvim: &Rc<NeovimClient>,
selected: &Tabpage,
tabs: &[(Tabpage, Option<String>)]
)
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Tabline
impl !Send for Tabline
impl !Sync for Tabline
impl Unpin for Tabline
impl !UnwindSafe for Tabline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more