pub struct EnumValDeclaration<'input> {
pub span: Span,
pub ident: IdentToken<'input>,
pub assignment: Option<(SimpleToken<'input>, Expr<'input>)>,
pub comma: Option<SimpleToken<'input>>,
}Fields§
§span: Span§ident: IdentToken<'input>§assignment: Option<(SimpleToken<'input>, Expr<'input>)>§comma: Option<SimpleToken<'input>>Trait Implementations§
Source§impl<'input> Clone for EnumValDeclaration<'input>
impl<'input> Clone for EnumValDeclaration<'input>
Source§fn clone(&self) -> EnumValDeclaration<'input>
fn clone(&self) -> EnumValDeclaration<'input>
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 moreAuto Trait Implementations§
impl<'input> Freeze for EnumValDeclaration<'input>
impl<'input> RefUnwindSafe for EnumValDeclaration<'input>
impl<'input> Send for EnumValDeclaration<'input>
impl<'input> Sync for EnumValDeclaration<'input>
impl<'input> Unpin for EnumValDeclaration<'input>
impl<'input> UnwindSafe for EnumValDeclaration<'input>
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