pub struct MacroLexicalReferences {
pub references: Vec<(Range<usize>, MacroLexicalBinding)>,
pub truncated: bool,
pub cancelled: bool,
}Expand description
Lexical macro references are query-local facts. A cancelled or bounded walk is kept distinct from a complete empty enumeration so authoritative inverse callers can preserve their completeness status.
Fields§
§references: Vec<(Range<usize>, MacroLexicalBinding)>§truncated: bool§cancelled: boolTrait Implementations§
Source§impl Clone for MacroLexicalReferences
impl Clone for MacroLexicalReferences
Source§fn clone(&self) -> MacroLexicalReferences
fn clone(&self) -> MacroLexicalReferences
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 MacroLexicalReferences
impl Debug for MacroLexicalReferences
Source§impl Default for MacroLexicalReferences
impl Default for MacroLexicalReferences
Source§fn default() -> MacroLexicalReferences
fn default() -> MacroLexicalReferences
Returns the “default value” for a type. Read more
impl Eq for MacroLexicalReferences
Source§impl PartialEq for MacroLexicalReferences
impl PartialEq for MacroLexicalReferences
impl StructuralPartialEq for MacroLexicalReferences
Auto Trait Implementations§
impl Freeze for MacroLexicalReferences
impl RefUnwindSafe for MacroLexicalReferences
impl Send for MacroLexicalReferences
impl Sync for MacroLexicalReferences
impl Unpin for MacroLexicalReferences
impl UnsafeUnpin for MacroLexicalReferences
impl UnwindSafe for MacroLexicalReferences
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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