pub enum TabRef {
Id(u32),
Label(String),
}Expand description
A tab reference as parsed from CLI/JSON input. Either a stable id like
t2 or a user-assigned label like docs.
Variants§
Implementations§
Trait Implementations§
impl Eq for TabRef
impl StructuralPartialEq for TabRef
Auto Trait Implementations§
impl Freeze for TabRef
impl RefUnwindSafe for TabRef
impl Send for TabRef
impl Sync for TabRef
impl Unpin for TabRef
impl UnsafeUnpin for TabRef
impl UnwindSafe for TabRef
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