Struct ra_ap_hir_def::import_map::ImportInfo [−][src]
pub struct ImportInfo { pub path: ImportPath, pub container: ModuleId, pub is_trait_assoc_item: bool, }
Expand description
Item import details stored in the ImportMap
.
Fields
path: ImportPath
A path that can be used to import the item, relative to the crate’s root.
container: ModuleId
The module containing this item.
is_trait_assoc_item: bool
Whether the import is a trait associated item or not.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImportInfo
impl Send for ImportInfo
impl Sync for ImportInfo
impl Unpin for ImportInfo
impl UnwindSafe for ImportInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.