Struct ra_ap_hir_def::item_tree::Mod [−][src]
pub struct Mod { pub name: Name, pub visibility: RawVisibilityId, pub kind: ModKind, pub ast_id: FileAstId<Module>, }
Fields
name: Name
visibility: RawVisibilityId
kind: ModKind
ast_id: FileAstId<Module>
Trait Implementations
Looks up an instance of Self
in an item tree.
Downcasts a ModItem
to a FileItemTreeId
specific to this type.
Upcasts a FileItemTreeId
to a generic ModItem
.
Auto Trait Implementations
impl RefUnwindSafe for Mod
impl UnwindSafe for Mod
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.