Struct cairo_lang_syntax::node::ast::AttributeArgs
source · pub struct AttributeArgs { /* private fields */ }
Implementations§
source§impl AttributeArgs
impl AttributeArgs
pub const INDEX_LPAREN: usize = 0usize
pub const INDEX_ARG_LIST: usize = 1usize
pub const INDEX_RPAREN: usize = 2usize
pub fn new_green( db: &dyn SyntaxGroup, lparen: TerminalLParenGreen, arg_list: AttributeArgListGreen, rparen: TerminalRParenGreen ) -> AttributeArgsGreen
source§impl AttributeArgs
impl AttributeArgs
pub fn lparen(&self, db: &dyn SyntaxGroup) -> TerminalLParen
pub fn arg_list(&self, db: &dyn SyntaxGroup) -> AttributeArgList
pub fn rparen(&self, db: &dyn SyntaxGroup) -> TerminalRParen
Trait Implementations§
source§impl Clone for AttributeArgs
impl Clone for AttributeArgs
source§fn clone(&self) -> AttributeArgs
fn clone(&self) -> AttributeArgs
Returns a copy 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 AttributeArgs
impl Debug for AttributeArgs
source§impl Hash for AttributeArgs
impl Hash for AttributeArgs
source§impl PartialEq<AttributeArgs> for AttributeArgs
impl PartialEq<AttributeArgs> for AttributeArgs
source§fn eq(&self, other: &AttributeArgs) -> bool
fn eq(&self, other: &AttributeArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypedSyntaxNode for AttributeArgs
impl TypedSyntaxNode for AttributeArgs
source§const OPTIONAL_KIND: Option<SyntaxKind> = _
const OPTIONAL_KIND: Option<SyntaxKind> = _
The relevant SyntaxKind. None for enums.
type StablePtr = AttributeArgsPtr
type Green = AttributeArgsGreen
fn missing(db: &dyn SyntaxGroup) -> Self::Green
fn from_syntax_node(db: &dyn SyntaxGroup, node: SyntaxNode) -> Self
fn from_ptr(db: &dyn SyntaxGroup, root: &SyntaxFile, ptr: Self::StablePtr) -> Self
fn as_syntax_node(&self) -> SyntaxNode
fn stable_ptr(&self) -> Self::StablePtr
impl Eq for AttributeArgs
impl StructuralEq for AttributeArgs
impl StructuralPartialEq for AttributeArgs
Auto Trait Implementations§
impl RefUnwindSafe for AttributeArgs
impl Send for AttributeArgs
impl Sync for AttributeArgs
impl Unpin for AttributeArgs
impl UnwindSafe for AttributeArgs
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.