pub struct SemanticsScope<'a> {
    pub db: &'a dyn HirDatabase,
    /* private fields */
}
Expand description

Represents the notion of a scope (set of possible names) at a particular position in source.

Fields§

§db: &'a dyn HirDatabase

Implementations§

Call the visit function for every named item in the scope

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.