pub struct AstEnumDecl {
pub name: String,
pub underlying_type: String,
pub members: Vec<AstEnumMember>,
pub annotations: Vec<AstAnnotation>,
pub exported: bool,
pub span: Option<Span>,
}Fields§
§name: String§underlying_type: String§members: Vec<AstEnumMember>§annotations: Vec<AstAnnotation>§exported: bool§span: Option<Span>Trait Implementations§
Source§impl Clone for AstEnumDecl
impl Clone for AstEnumDecl
Source§fn clone(&self) -> AstEnumDecl
fn clone(&self) -> AstEnumDecl
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AstEnumDecl
impl Debug for AstEnumDecl
Source§impl PartialEq for AstEnumDecl
impl PartialEq for AstEnumDecl
impl StructuralPartialEq for AstEnumDecl
Auto Trait Implementations§
impl Freeze for AstEnumDecl
impl RefUnwindSafe for AstEnumDecl
impl Send for AstEnumDecl
impl Sync for AstEnumDecl
impl Unpin for AstEnumDecl
impl UnsafeUnpin for AstEnumDecl
impl UnwindSafe for AstEnumDecl
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