pub struct EnumValue { /* private fields */ }Expand description
A EnumValue node (family.ungram rule EnumValue).
Implementations§
Trait Implementations§
Source§impl AstNode for EnumValue
impl AstNode for EnumValue
Source§fn cast(syntax: SyntaxNode) -> Option<Self>
fn cast(syntax: SyntaxNode) -> Option<Self>
Wraps
syntax if its kind matches this type; None otherwise.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying untyped node.
impl Eq for EnumValue
impl StructuralPartialEq for EnumValue
Auto Trait Implementations§
impl !RefUnwindSafe for EnumValue
impl !Send for EnumValue
impl !Sync for EnumValue
impl !UnwindSafe for EnumValue
impl Freeze for EnumValue
impl Unpin for EnumValue
impl UnsafeUnpin for EnumValue
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