Struct ra_ap_hir_def::item_tree::Union [−][src]
pub struct Union { pub name: Name, pub visibility: RawVisibilityId, pub generic_params: Interned<GenericParams>, pub fields: Fields, pub ast_id: FileAstId<Union>, }
Fields
name: Name
visibility: RawVisibilityId
generic_params: Interned<GenericParams>
fields: Fields
ast_id: FileAstId<Union>
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 Union
impl UnwindSafe for Union
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.