pub struct ExprUnaryData {
pub value: Box<Expression>,
pub span: Span,
pub span_op: Span,
}Expand description
Internal data for unary operation
Fields§
§value: Box<Expression>§span: Spanspan that covers the whole binary expression
span_op: Spanspan of the operator
Implementations§
Trait Implementations§
Source§impl Clone for ExprUnaryData
impl Clone for ExprUnaryData
Source§fn clone(&self) -> ExprUnaryData
fn clone(&self) -> ExprUnaryData
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 Freeze for ExprUnaryData
impl RefUnwindSafe for ExprUnaryData
impl Send for ExprUnaryData
impl Sync for ExprUnaryData
impl Unpin for ExprUnaryData
impl UnwindSafe for ExprUnaryData
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