pub enum UnaryOperator {
Add,
Sub,
Not,
}Variants§
Trait Implementations§
Source§impl Clone for UnaryOperator
impl Clone for UnaryOperator
Source§impl Debug for UnaryOperator
impl Debug for UnaryOperator
Source§impl From<UnaryOperator> for UnaryOperator
impl From<UnaryOperator> for UnaryOperator
Source§fn from(value: UnaryOperator) -> Self
fn from(value: UnaryOperator) -> Self
Converts to this type from the input type.
Source§impl<'a> FromTreeSitter<'a> for UnaryOperator
impl<'a> FromTreeSitter<'a> for UnaryOperator
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for UnaryOperator
impl RefUnwindSafe for UnaryOperator
impl Send for UnaryOperator
impl Sync for UnaryOperator
impl Unpin for UnaryOperator
impl UnsafeUnpin for UnaryOperator
impl UnwindSafe for UnaryOperator
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