pub struct TabId(/* private fields */);Expand description
Unique tab page identifier.
Tab pages are identified by a unique, monotonically increasing ID. This is a lightweight handle that can be cheaply cloned and compared.
§Example
use reovim_kernel::api::v1::TabId;
let tab1 = TabId::new();
let tab2 = TabId::new();
assert_ne!(tab1, tab2);
assert_eq!(tab1, tab1);Implementations§
Trait Implementations§
Source§impl Ord for TabId
impl Ord for TabId
Source§impl PartialOrd for TabId
impl PartialOrd for TabId
impl Copy for TabId
impl Eq for TabId
impl StructuralPartialEq for TabId
Auto Trait Implementations§
impl Freeze for TabId
impl RefUnwindSafe for TabId
impl Send for TabId
impl Sync for TabId
impl Unpin for TabId
impl UnsafeUnpin for TabId
impl UnwindSafe for TabId
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