[−][src]Struct ra_ap_ide::SearchScope
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
impl SearchScope
[src]
pub fn empty() -> SearchScope
[src]
pub fn single_file(file: FileId) -> SearchScope
[src]
pub fn files(files: &[FileId]) -> SearchScope
[src]
pub fn intersection(&self, other: &SearchScope) -> SearchScope
[src]
Trait Implementations
impl IntoIterator for SearchScope
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Cast for T
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Self: CastTo<U>,
U: HasInterner,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,