pub struct PrefixExpression<'s> {
pub operator: PrefixOperator<'s>,
pub value: Box<Expression<'s>>,
}
Expand description
An expression with a prefixed operator.
Grammar: PrefixOperator Expression
Fields§
§operator: PrefixOperator<'s>
§value: Box<Expression<'s>>
Trait Implementations§
Source§impl<'s> Clone for PrefixExpression<'s>
impl<'s> Clone for PrefixExpression<'s>
Source§fn clone(&self) -> PrefixExpression<'s>
fn clone(&self) -> PrefixExpression<'s>
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<'s> Freeze for PrefixExpression<'s>
impl<'s> RefUnwindSafe for PrefixExpression<'s>
impl<'s> Send for PrefixExpression<'s>
impl<'s> Sync for PrefixExpression<'s>
impl<'s> Unpin for PrefixExpression<'s>
impl<'s> UnwindSafe for PrefixExpression<'s>
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