Struct ra_ap_hir_def::adt::StructData [−][src]
pub struct StructData { pub name: Name, pub variant_data: Arc<VariantData>, pub repr: Option<ReprKind>, pub visibility: RawVisibility, }
Expand description
Note that we use StructData
for unions as well!
Fields
name: Name
variant_data: Arc<VariantData>
repr: Option<ReprKind>
visibility: RawVisibility
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 StructData
impl Send for StructData
impl Sync for StructData
impl Unpin for StructData
impl UnwindSafe for StructData
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.