Struct ra_ap_ide::SearchScope [−][src]
pub struct SearchScope { /* fields omitted */ }
Expand description
Generally, search_scope
returns files that might contain references for the element.
For pub(crate)
things it’s a crate, for pub
things it’s a crate and dependant crates.
In some cases, the location of the references is known to within a TextRange
,
e.g. for things like local variables.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SearchScope
impl Send for SearchScope
impl Sync for SearchScope
impl Unpin for SearchScope
impl UnwindSafe for SearchScope
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> Any for T where
T: Any,