[−][src]Struct ra_ap_hir_def::item_scope::ItemScope
Implementations
impl ItemScope
[src]
Legacy macros can only be accessed through special methods like get_legacy_macros
.
Other methods will only resolve values, types and module scoped macros only.
pub fn entries<'a>(&'a self) -> impl Iterator<Item = (&'a Name, PerNs)> + 'a
[src]
pub fn declarations(&self) -> impl Iterator<Item = ModuleDefId> + '_
[src]
pub fn impls(&self) -> impl Iterator<Item = ImplId> + ExactSizeIterator + '_
[src]
pub fn values(
&self
) -> impl Iterator<Item = (ModuleDefId, Visibility)> + ExactSizeIterator + '_
[src]
&self
) -> impl Iterator<Item = (ModuleDefId, Visibility)> + ExactSizeIterator + '_
pub fn visibility_of(&self, def: ModuleDefId) -> Option<Visibility>
[src]
Trait Implementations
impl ChildBySource for ItemScope
[src]
pub fn child_by_source(&self, db: &dyn DefDatabase) -> DynMap
[src]
impl Debug for ItemScope
[src]
impl Default for ItemScope
[src]
impl Eq for ItemScope
[src]
impl PartialEq<ItemScope> for ItemScope
[src]
impl StructuralEq for ItemScope
[src]
impl StructuralPartialEq for ItemScope
[src]
Auto Trait Implementations
impl RefUnwindSafe for ItemScope
[src]
impl Send for ItemScope
[src]
impl Sync for ItemScope
[src]
impl Unpin for ItemScope
[src]
impl UnwindSafe for ItemScope
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,