pub struct EnumDecl {
pub name: Ident,
pub scalar_type: Option<Name>,
pub implements: Box<[Name]>,
pub body: EnumBody,
pub attributes: Box<[Attribute]>,
pub doc_comment: Option<Comment>,
}Fields§
§name: Ident§scalar_type: Option<Name>§implements: Box<[Name]>§body: EnumBody§attributes: Box<[Attribute]>§doc_comment: Option<Comment>Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnumDecl
impl RefUnwindSafe for EnumDecl
impl Send for EnumDecl
impl Sync for EnumDecl
impl Unpin for EnumDecl
impl UnsafeUnpin for EnumDecl
impl UnwindSafe for EnumDecl
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