pub struct Parenthesized {
pub expr: Box<Expr>,
}Expand description
Represents a parenthesized expression in the AST. Parenthesized expressions are used to override operator precedence.
Fields§
§expr: Box<Expr>The expression contained within the parentheses.
Trait Implementations§
Source§impl Clone for Parenthesized
impl Clone for Parenthesized
Source§fn clone(&self) -> Parenthesized
fn clone(&self) -> Parenthesized
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 Parenthesized
impl Debug for Parenthesized
Source§impl PartialEq for Parenthesized
impl PartialEq for Parenthesized
impl StructuralPartialEq for Parenthesized
Auto Trait Implementations§
impl Freeze for Parenthesized
impl RefUnwindSafe for Parenthesized
impl Send for Parenthesized
impl Sync for Parenthesized
impl Unpin for Parenthesized
impl UnwindSafe for Parenthesized
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