pub enum PrimaryExpr {
ScopedName(ScopedName),
Literal(Literal),
ConstExpr(Box<ConstExpr>),
}Variants§
Trait Implementations§
Source§impl Clone for PrimaryExpr
impl Clone for PrimaryExpr
Source§impl Debug for PrimaryExpr
impl Debug for PrimaryExpr
Source§impl<'a> FromTreeSitter<'a> for PrimaryExpr
impl<'a> FromTreeSitter<'a> for PrimaryExpr
fn from_node(node: Node<'a>, ctx: &mut ParseContext<'a>) -> ParserResult<Self>
Auto Trait Implementations§
impl Freeze for PrimaryExpr
impl RefUnwindSafe for PrimaryExpr
impl Send for PrimaryExpr
impl Sync for PrimaryExpr
impl Unpin for PrimaryExpr
impl UnsafeUnpin for PrimaryExpr
impl UnwindSafe for PrimaryExpr
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