Struct ra_ap_hir_def::item_tree::ExternBlock [−][src]
pub struct ExternBlock { pub abi: Option<Interned<str>>, pub ast_id: FileAstId<ExternBlock>, pub children: Box<[ModItem]>, }
Fields
abi: Option<Interned<str>>
ast_id: FileAstId<ExternBlock>
children: Box<[ModItem]>
Trait Implementations
type Source = ExternBlock
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
.
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 ExternBlock
impl Send for ExternBlock
impl Sync for ExternBlock
impl Unpin for ExternBlock
impl UnwindSafe for ExternBlock
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.