pub struct EnumBody {
pub variants: Vec<EnumVariant>,
}
Expand description
The body of an enum
Fields§
§variants: Vec<EnumVariant>
The enum’s variants
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumBody
impl RefUnwindSafe for EnumBody
impl !Send for EnumBody
impl !Sync for EnumBody
impl Unpin for EnumBody
impl UnwindSafe for EnumBody
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