pub struct EnumCase<'tree> {
pub span: Span,
pub attributes: Option<AttributeList<'tree>>,
pub name: Name<'tree>,
pub value: Option<Expression<'tree>>,
}Fields§
§span: Span§attributes: Option<AttributeList<'tree>>§name: Name<'tree>§value: Option<Expression<'tree>>Trait Implementations§
Auto Trait Implementations§
impl<'tree> Freeze for EnumCase<'tree>
impl<'tree> RefUnwindSafe for EnumCase<'tree>
impl<'tree> Send for EnumCase<'tree>
impl<'tree> Sync for EnumCase<'tree>
impl<'tree> Unpin for EnumCase<'tree>
impl<'tree> UnsafeUnpin for EnumCase<'tree>
impl<'tree> UnwindSafe for EnumCase<'tree>
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