Struct hir_def::item_tree::FileItemTreeId
source · pub struct FileItemTreeId<N>(/* private fields */);
Implementations§
source§impl<N> FileItemTreeId<N>
impl<N> FileItemTreeId<N>
pub fn range_iter(range: Range<Self>) -> impl Iterator<Item = Self> + Clone
source§impl<N> FileItemTreeId<N>
impl<N> FileItemTreeId<N>
Trait Implementations§
source§impl<N> Clone for FileItemTreeId<N>
impl<N> Clone for FileItemTreeId<N>
source§impl<N> Debug for FileItemTreeId<N>
impl<N> Debug for FileItemTreeId<N>
source§impl From<FileItemTreeId<Enum>> for GenericModItem
impl From<FileItemTreeId<Enum>> for GenericModItem
source§fn from(id: FileItemTreeId<Enum>) -> GenericModItem
fn from(id: FileItemTreeId<Enum>) -> GenericModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<ExternBlock>> for ModItem
impl From<FileItemTreeId<ExternBlock>> for ModItem
source§fn from(id: FileItemTreeId<ExternBlock>) -> ModItem
fn from(id: FileItemTreeId<ExternBlock>) -> ModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<ExternCrate>> for ModItem
impl From<FileItemTreeId<ExternCrate>> for ModItem
source§fn from(id: FileItemTreeId<ExternCrate>) -> ModItem
fn from(id: FileItemTreeId<ExternCrate>) -> ModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<Function>> for GenericModItem
impl From<FileItemTreeId<Function>> for GenericModItem
source§fn from(id: FileItemTreeId<Function>) -> GenericModItem
fn from(id: FileItemTreeId<Function>) -> GenericModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<Impl>> for GenericModItem
impl From<FileItemTreeId<Impl>> for GenericModItem
source§fn from(id: FileItemTreeId<Impl>) -> GenericModItem
fn from(id: FileItemTreeId<Impl>) -> GenericModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<MacroRules>> for ModItem
impl From<FileItemTreeId<MacroRules>> for ModItem
source§fn from(id: FileItemTreeId<MacroRules>) -> ModItem
fn from(id: FileItemTreeId<MacroRules>) -> ModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<Struct>> for GenericModItem
impl From<FileItemTreeId<Struct>> for GenericModItem
source§fn from(id: FileItemTreeId<Struct>) -> GenericModItem
fn from(id: FileItemTreeId<Struct>) -> GenericModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<Trait>> for GenericModItem
impl From<FileItemTreeId<Trait>> for GenericModItem
source§fn from(id: FileItemTreeId<Trait>) -> GenericModItem
fn from(id: FileItemTreeId<Trait>) -> GenericModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<TraitAlias>> for GenericModItem
impl From<FileItemTreeId<TraitAlias>> for GenericModItem
source§fn from(id: FileItemTreeId<TraitAlias>) -> GenericModItem
fn from(id: FileItemTreeId<TraitAlias>) -> GenericModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<TraitAlias>> for ModItem
impl From<FileItemTreeId<TraitAlias>> for ModItem
source§fn from(id: FileItemTreeId<TraitAlias>) -> ModItem
fn from(id: FileItemTreeId<TraitAlias>) -> ModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<TypeAlias>> for GenericModItem
impl From<FileItemTreeId<TypeAlias>> for GenericModItem
source§fn from(id: FileItemTreeId<TypeAlias>) -> GenericModItem
fn from(id: FileItemTreeId<TypeAlias>) -> GenericModItem
Converts to this type from the input type.
source§impl From<FileItemTreeId<Union>> for GenericModItem
impl From<FileItemTreeId<Union>> for GenericModItem
source§fn from(id: FileItemTreeId<Union>) -> GenericModItem
fn from(id: FileItemTreeId<Union>) -> GenericModItem
Converts to this type from the input type.
source§impl<N> Hash for FileItemTreeId<N>
impl<N> Hash for FileItemTreeId<N>
source§impl<N: ItemTreeNode> Index<FileItemTreeId<N>> for ItemTree
impl<N: ItemTreeNode> Index<FileItemTreeId<N>> for ItemTree
source§impl<N> PartialEq for FileItemTreeId<N>
impl<N> PartialEq for FileItemTreeId<N>
impl<N> Copy for FileItemTreeId<N>
impl<N> Eq for FileItemTreeId<N>
Auto Trait Implementations§
impl<N> Freeze for FileItemTreeId<N>
impl<N> RefUnwindSafe for FileItemTreeId<N>
impl<N> Send for FileItemTreeId<N>
impl<N> Sync for FileItemTreeId<N>
impl<N> Unpin for FileItemTreeId<N>
impl<N> UnwindSafe for FileItemTreeId<N>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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