pub struct ParenElem {
pub span: Span,
pub choices: Choices,
pub expr: Expr,
}
Expand description
A parenthesized expression element. A parenthesized expression contains
elements of which each may either be a simple <expr>
, or an association of
the form <choices> => <expr>
.
Fields§
§span: Span
§choices: Choices
§expr: Expr
Trait Implementations§
impl Eq for ParenElem
impl StructuralPartialEq for ParenElem
Auto Trait Implementations§
impl Freeze for ParenElem
impl RefUnwindSafe for ParenElem
impl Send for ParenElem
impl Sync for ParenElem
impl Unpin for ParenElem
impl UnwindSafe for ParenElem
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