pub enum NameKind {
ClassName,
CssIdent,
PropertyName,
SelectorKey,
CustomPropertyName,
KeyframesName,
MixinName,
FilePath,
}Variants§
Implementations§
Source§impl NameKind
impl NameKind
pub const ALL: &'static [Self]
pub const fn canonical_symbol_kind(self) -> Option<SymbolKind>
Trait Implementations§
impl Copy for NameKind
impl Eq for NameKind
Source§impl Ord for NameKind
impl Ord for NameKind
1.21.0 (const: unstable) · 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 PartialOrd for NameKind
impl PartialOrd for NameKind
impl StructuralPartialEq for NameKind
Auto Trait Implementations§
impl Freeze for NameKind
impl RefUnwindSafe for NameKind
impl Send for NameKind
impl Sync for NameKind
impl Unpin for NameKind
impl UnsafeUnpin for NameKind
impl UnwindSafe for NameKind
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> Comparable<K> for Q
impl<Q, K> Comparable<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.