Struct cairo_lang_syntax::node::ast::ArgListParenthesized
source · pub struct ArgListParenthesized { /* private fields */ }
Implementations§
source§impl ArgListParenthesized
impl ArgListParenthesized
pub const INDEX_LPAREN: usize = 0usize
pub const INDEX_ARGS: usize = 1usize
pub const INDEX_RPAREN: usize = 2usize
pub fn new_green( db: &dyn SyntaxGroup, lparen: TerminalLParenGreen, args: ArgListGreen, rparen: TerminalRParenGreen ) -> ArgListParenthesizedGreen
source§impl ArgListParenthesized
impl ArgListParenthesized
pub fn lparen(&self, db: &dyn SyntaxGroup) -> TerminalLParen
pub fn args(&self, db: &dyn SyntaxGroup) -> ArgList
pub fn rparen(&self, db: &dyn SyntaxGroup) -> TerminalRParen
Trait Implementations§
source§impl Clone for ArgListParenthesized
impl Clone for ArgListParenthesized
source§fn clone(&self) -> ArgListParenthesized
fn clone(&self) -> ArgListParenthesized
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 ArgListParenthesized
impl Debug for ArgListParenthesized
source§impl Hash for ArgListParenthesized
impl Hash for ArgListParenthesized
source§impl PartialEq for ArgListParenthesized
impl PartialEq for ArgListParenthesized
source§fn eq(&self, other: &ArgListParenthesized) -> bool
fn eq(&self, other: &ArgListParenthesized) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypedSyntaxNode for ArgListParenthesized
impl TypedSyntaxNode for ArgListParenthesized
source§const OPTIONAL_KIND: Option<SyntaxKind> = _
const OPTIONAL_KIND: Option<SyntaxKind> = _
The relevant SyntaxKind. None for enums.
type StablePtr = ArgListParenthesizedPtr
type Green = ArgListParenthesizedGreen
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 ArgListParenthesized
impl StructuralEq for ArgListParenthesized
impl StructuralPartialEq for ArgListParenthesized
Auto Trait Implementations§
impl RefUnwindSafe for ArgListParenthesized
impl Send for ArgListParenthesized
impl Sync for ArgListParenthesized
impl Unpin for ArgListParenthesized
impl UnwindSafe for ArgListParenthesized
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
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.§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.