pub struct Parentheses {
pub value: Box<Expression>,
}Expand description
A set of parentheses surrounding an expression
Fields§
§value: Box<Expression>The contained expression
Implementations§
Source§impl Parentheses
impl Parentheses
Sourcepub fn new(value: Expression) -> Parentheses
pub fn new(value: Expression) -> Parentheses
Creates a new valid instance of Parentheses
Trait Implementations§
Source§impl Clone for Parentheses
impl Clone for Parentheses
Source§fn clone(&self) -> Parentheses
fn clone(&self) -> Parentheses
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 Default for Parentheses
impl Default for Parentheses
Source§fn default() -> Parentheses
fn default() -> Parentheses
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Parentheses
impl RefUnwindSafe for Parentheses
impl Send for Parentheses
impl Sync for Parentheses
impl Unpin for Parentheses
impl UnwindSafe for Parentheses
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