pub struct AstFlagsDecl {
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 AstFlagsDecl
impl Clone for AstFlagsDecl
Source§fn clone(&self) -> AstFlagsDecl
fn clone(&self) -> AstFlagsDecl
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 AstFlagsDecl
impl Debug for AstFlagsDecl
Source§impl PartialEq for AstFlagsDecl
impl PartialEq for AstFlagsDecl
impl StructuralPartialEq for AstFlagsDecl
Auto Trait Implementations§
impl Freeze for AstFlagsDecl
impl RefUnwindSafe for AstFlagsDecl
impl Send for AstFlagsDecl
impl Sync for AstFlagsDecl
impl Unpin for AstFlagsDecl
impl UnsafeUnpin for AstFlagsDecl
impl UnwindSafe for AstFlagsDecl
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