pub struct ParsedVariableFact {
pub kind: ParsedVariableFactKind,
pub name: String,
pub range: TextRange,
pub has_fallback: bool,
}Fields§
§kind: ParsedVariableFactKind§name: String§range: TextRange§has_fallback: boolFor a CustomPropertyReference written as var(--x, fallback), records that a
top-level fallback argument is present. The reference cannot be “missing” in any
observable way — the fallback guarantees a value — so the missingCustomProperty
lint must skip it. false for declarations and fallback-less references.
Trait Implementations§
Source§impl Clone for ParsedVariableFact
impl Clone for ParsedVariableFact
Source§fn clone(&self) -> ParsedVariableFact
fn clone(&self) -> ParsedVariableFact
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParsedVariableFact
impl Debug for ParsedVariableFact
impl Eq for ParsedVariableFact
Source§impl PartialEq for ParsedVariableFact
impl PartialEq for ParsedVariableFact
Source§fn eq(&self, other: &ParsedVariableFact) -> bool
fn eq(&self, other: &ParsedVariableFact) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ParsedVariableFact
Auto Trait Implementations§
impl Freeze for ParsedVariableFact
impl RefUnwindSafe for ParsedVariableFact
impl Send for ParsedVariableFact
impl Sync for ParsedVariableFact
impl Unpin for ParsedVariableFact
impl UnsafeUnpin for ParsedVariableFact
impl UnwindSafe for ParsedVariableFact
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.