pub enum PathPrimary {
EdgeAny(EdgeAny),
EdgeLeft(EdgeLeft),
EdgeRight(EdgeRight),
ParenGraphPattern(ParenGraphPattern),
VertexPattern(VertexPattern),
}Variants§
EdgeAny(EdgeAny)
EdgeLeft(EdgeLeft)
EdgeRight(EdgeRight)
ParenGraphPattern(ParenGraphPattern)
VertexPattern(VertexPattern)
Trait Implementations§
Source§impl AstNode for PathPrimary
impl AstNode for PathPrimary
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl Clone for PathPrimary
impl Clone for PathPrimary
Source§fn clone(&self) -> PathPrimary
fn clone(&self) -> PathPrimary
Returns a duplicate 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 PathPrimary
impl Debug for PathPrimary
Source§impl From<EdgeAny> for PathPrimary
impl From<EdgeAny> for PathPrimary
Source§fn from(node: EdgeAny) -> PathPrimary
fn from(node: EdgeAny) -> PathPrimary
Converts to this type from the input type.
Source§impl From<EdgeLeft> for PathPrimary
impl From<EdgeLeft> for PathPrimary
Source§fn from(node: EdgeLeft) -> PathPrimary
fn from(node: EdgeLeft) -> PathPrimary
Converts to this type from the input type.
Source§impl From<EdgeRight> for PathPrimary
impl From<EdgeRight> for PathPrimary
Source§fn from(node: EdgeRight) -> PathPrimary
fn from(node: EdgeRight) -> PathPrimary
Converts to this type from the input type.
Source§impl From<ParenGraphPattern> for PathPrimary
impl From<ParenGraphPattern> for PathPrimary
Source§fn from(node: ParenGraphPattern) -> PathPrimary
fn from(node: ParenGraphPattern) -> PathPrimary
Converts to this type from the input type.
Source§impl From<VertexPattern> for PathPrimary
impl From<VertexPattern> for PathPrimary
Source§fn from(node: VertexPattern) -> PathPrimary
fn from(node: VertexPattern) -> PathPrimary
Converts to this type from the input type.
Source§impl Hash for PathPrimary
impl Hash for PathPrimary
Source§impl PartialEq for PathPrimary
impl PartialEq for PathPrimary
impl Eq for PathPrimary
impl StructuralPartialEq for PathPrimary
Auto Trait Implementations§
impl Freeze for PathPrimary
impl !RefUnwindSafe for PathPrimary
impl !Send for PathPrimary
impl !Sync for PathPrimary
impl Unpin for PathPrimary
impl UnsafeUnpin for PathPrimary
impl !UnwindSafe for PathPrimary
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