pub struct EnumBody {
pub brace_span: (Span, Span),
pub constants: Vec<EnumConstant>,
pub comma_span: Option<Span>,
pub members: Vec<ClassBodyDecl>,
}Expand description
Enum body: { constants [,] [members] }.
Fields§
§brace_span: (Span, Span)§constants: Vec<EnumConstant>§comma_span: Option<Span>§members: Vec<ClassBodyDecl>Trait Implementations§
impl Eq for EnumBody
impl StructuralPartialEq for EnumBody
Auto Trait Implementations§
impl Freeze for EnumBody
impl RefUnwindSafe for EnumBody
impl Send for EnumBody
impl Sync for EnumBody
impl Unpin for EnumBody
impl UnsafeUnpin 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