pub struct TokenSet<K: SyntaxKind>(/* private fields */);
Implementations§
Trait Implementations§
impl<K: Copy + SyntaxKind> Copy for TokenSet<K>
impl<K: Eq + SyntaxKind> Eq for TokenSet<K>
impl<K: SyntaxKind> StructuralPartialEq for TokenSet<K>
Auto Trait Implementations§
impl<K> Freeze for TokenSet<K>
impl<K> RefUnwindSafe for TokenSet<K>where
K: RefUnwindSafe,
impl<K> Send for TokenSet<K>where
K: Send,
impl<K> Sync for TokenSet<K>where
K: Sync,
impl<K> Unpin for TokenSet<K>where
K: Unpin,
impl<K> UnwindSafe for TokenSet<K>where
K: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.