pub struct TabId(/* private fields */);Expand description
Browser-assigned tab identifier.
A lightweight newtype around u32 that prevents accidental misuse of
window or download IDs where a tab ID is expected.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TabId
impl<'de> Deserialize<'de> for TabId
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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