Enum cairo_lang_syntax::node::ast::ArgClause
source · pub enum ArgClause {
Unnamed(ArgClauseUnnamed),
Named(ArgClauseNamed),
FieldInitShorthand(ArgClauseFieldInitShorthand),
}
Variants§
Trait Implementations§
source§impl PartialEq<ArgClause> for ArgClause
impl PartialEq<ArgClause> for ArgClause
source§impl TypedSyntaxNode for ArgClause
impl TypedSyntaxNode for ArgClause
source§const OPTIONAL_KIND: Option<SyntaxKind> = None
const OPTIONAL_KIND: Option<SyntaxKind> = None
The relevant SyntaxKind. None for enums.
type StablePtr = ArgClausePtr
type Green = ArgClauseGreen
fn missing(db: &dyn SyntaxGroup) -> Self::Green
fn from_syntax_node(db: &dyn SyntaxGroup, node: SyntaxNode) -> Self
fn as_syntax_node(&self) -> SyntaxNode
fn from_ptr(db: &dyn SyntaxGroup, root: &SyntaxFile, ptr: Self::StablePtr) -> Self
fn stable_ptr(&self) -> Self::StablePtr
impl Eq for ArgClause
impl StructuralEq for ArgClause
impl StructuralPartialEq for ArgClause
Auto Trait Implementations§
impl RefUnwindSafe for ArgClause
impl Send for ArgClause
impl Sync for ArgClause
impl Unpin for ArgClause
impl UnwindSafe for ArgClause
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.