pub struct UnaryNode {
pub start: Location,
/* private fields */
}
Expand description
This represents a unary node, typically used in expressions such as -A.
Fields§
§start: Location
This is the location of the node, usually that of the operator.
Trait Implementations§
impl StructuralPartialEq for UnaryNode
Auto Trait Implementations§
impl Freeze for UnaryNode
impl RefUnwindSafe for UnaryNode
impl Send for UnaryNode
impl Sync for UnaryNode
impl Unpin for UnaryNode
impl UnwindSafe for UnaryNode
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