pub struct AdtBody {
pub def_id: DefId,
pub is_pub: bool,
pub name: String,
pub variants: Vec<AdtVariant>,
pub name_to_idx: HashMap<String, usize>,
pub span: Span,
}
Fields§
§def_id: DefId
§is_pub: bool
§name: String
§variants: Vec<AdtVariant>
§name_to_idx: HashMap<String, usize>
§span: Span
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AdtBody
impl Send for AdtBody
impl Sync for AdtBody
impl Unpin for AdtBody
impl UnwindSafe for AdtBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more