pub struct Ident {
pub span: Span,
pub value: Atom,
pub raw: Option<Atom>,
}
Fields§
§span: Span
§value: Atom
§raw: Option<Atom>
Trait Implementations§
Source§impl EqIgnoreSpan for Ident
impl EqIgnoreSpan for Ident
fn eq_ignore_span(&self, other: &Self) -> bool
Source§impl From<Ident> for AbsoluteColorBase
impl From<Ident> for AbsoluteColorBase
Source§impl From<Ident> for AtRuleName
impl From<Ident> for AtRuleName
Source§impl From<Ident> for AttributeSelectorValue
impl From<Ident> for AttributeSelectorValue
Source§impl From<Ident> for ColorProfileName
impl From<Ident> for ColorProfileName
Source§impl From<Ident> for CustomMediaQueryMediaType
impl From<Ident> for CustomMediaQueryMediaType
Source§impl From<Ident> for DeclarationName
impl From<Ident> for DeclarationName
Source§impl From<Ident> for FunctionName
impl From<Ident> for FunctionName
Source§impl From<Ident> for ImportLayerName
impl From<Ident> for ImportLayerName
Source§impl From<Ident> for KeyframeSelector
impl From<Ident> for KeyframeSelector
Source§impl From<Ident> for MediaFeatureName
impl From<Ident> for MediaFeatureName
Source§impl From<Ident> for MediaFeatureValue
impl From<Ident> for MediaFeatureValue
Source§impl From<Ident> for PseudoClassSelectorChildren
impl From<Ident> for PseudoClassSelectorChildren
Source§impl From<Ident> for PseudoElementSelectorChildren
impl From<Ident> for PseudoElementSelectorChildren
Source§impl From<Ident> for SizeFeatureName
impl From<Ident> for SizeFeatureName
Source§impl From<Ident> for SizeFeatureValue
impl From<Ident> for SizeFeatureValue
Source§impl From<Ident> for UrlModifier
impl From<Ident> for UrlModifier
Source§impl Ord for Ident
impl Ord for Ident
Source§impl PartialOrd for Ident
impl PartialOrd for Ident
impl Eq for Ident
impl StructuralPartialEq for Ident
Auto Trait Implementations§
impl Freeze for Ident
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more