pub struct UnaryOpSpan {
pub expr: Expr,
pub pos: LineCol,
}
Expand description
Components of a unary operation expression.
Fields§
§expr: Expr
Expression affected by the operator.
pos: LineCol
Starting position of the operator.
Trait Implementations§
Source§impl Clone for UnaryOpSpan
impl Clone for UnaryOpSpan
Source§fn clone(&self) -> UnaryOpSpan
fn clone(&self) -> UnaryOpSpan
Returns a copy 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 UnaryOpSpan
impl Debug for UnaryOpSpan
Source§impl PartialEq for UnaryOpSpan
impl PartialEq for UnaryOpSpan
impl StructuralPartialEq for UnaryOpSpan
Auto Trait Implementations§
impl Freeze for UnaryOpSpan
impl RefUnwindSafe for UnaryOpSpan
impl Send for UnaryOpSpan
impl Sync for UnaryOpSpan
impl Unpin for UnaryOpSpan
impl UnwindSafe for UnaryOpSpan
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