Struct cairo_lang_syntax::node::ast::AttributeList
source · pub struct AttributeList(_);
Implementations§
source§impl AttributeList
impl AttributeList
pub fn new_green(
db: &dyn SyntaxGroup,
children: Vec<AttributeGreen>
) -> AttributeListGreen
Methods from Deref<Target = ElementList<Attribute, 1>>§
pub fn elements(&self, db: &dyn SyntaxGroup) -> Vec<T> ⓘ
pub fn has_tail(&self, db: &dyn SyntaxGroup) -> bool
Trait Implementations§
source§impl Clone for AttributeList
impl Clone for AttributeList
source§fn clone(&self) -> AttributeList
fn clone(&self) -> AttributeList
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 AttributeList
impl Debug for AttributeList
source§impl Deref for AttributeList
impl Deref for AttributeList
source§impl Hash for AttributeList
impl Hash for AttributeList
source§impl PartialEq<AttributeList> for AttributeList
impl PartialEq<AttributeList> for AttributeList
source§fn eq(&self, other: &AttributeList) -> bool
fn eq(&self, other: &AttributeList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypedSyntaxNode for AttributeList
impl TypedSyntaxNode for AttributeList
source§const OPTIONAL_KIND: Option<SyntaxKind> = _
const OPTIONAL_KIND: Option<SyntaxKind> = _
The relevant SyntaxKind. None for enums.
type StablePtr = AttributeListPtr
type Green = AttributeListGreen
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 AttributeList
impl StructuralEq for AttributeList
impl StructuralPartialEq for AttributeList
Auto Trait Implementations§
impl RefUnwindSafe for AttributeList
impl Send for AttributeList
impl Sync for AttributeList
impl Unpin for AttributeList
impl UnwindSafe for AttributeList
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.