pub struct TabGroupId(/* private fields */);Expand description
Chrome-assigned tab group identifier.
A lightweight newtype around u32 that prevents accidental misuse of
other IDs where a tab group ID is expected. Chrome-only; Firefox does
not have a tab groups API.
Implementations§
Trait Implementations§
Source§impl Clone for TabGroupId
impl Clone for TabGroupId
Source§fn clone(&self) -> TabGroupId
fn clone(&self) -> TabGroupId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TabGroupId
impl Debug for TabGroupId
Source§impl<'de> Deserialize<'de> for TabGroupId
impl<'de> Deserialize<'de> for TabGroupId
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 Display for TabGroupId
impl Display for TabGroupId
Source§impl FromStr for TabGroupId
impl FromStr for TabGroupId
Source§impl Hash for TabGroupId
impl Hash for TabGroupId
Source§impl Ord for TabGroupId
impl Ord for TabGroupId
Source§fn cmp(&self, other: &TabGroupId) -> Ordering
fn cmp(&self, other: &TabGroupId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TabGroupId
impl PartialEq for TabGroupId
Source§impl PartialOrd for TabGroupId
impl PartialOrd for TabGroupId
Source§impl Serialize for TabGroupId
impl Serialize for TabGroupId
Source§impl TryFrom<u32> for TabGroupId
impl TryFrom<u32> for TabGroupId
impl Copy for TabGroupId
impl Eq for TabGroupId
impl StructuralPartialEq for TabGroupId
Auto Trait Implementations§
impl Freeze for TabGroupId
impl RefUnwindSafe for TabGroupId
impl Send for TabGroupId
impl Sync for TabGroupId
impl Unpin for TabGroupId
impl UnsafeUnpin for TabGroupId
impl UnwindSafe for TabGroupId
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