Enum cairo_lang_syntax::node::ast::OptionAttributeArgs
source · pub enum OptionAttributeArgs {
Empty(OptionAttributeArgsEmpty),
AttributeArgs(AttributeArgs),
}
Variants§
Empty(OptionAttributeArgsEmpty)
AttributeArgs(AttributeArgs)
Trait Implementations§
source§impl Clone for OptionAttributeArgs
impl Clone for OptionAttributeArgs
source§fn clone(&self) -> OptionAttributeArgs
fn clone(&self) -> OptionAttributeArgs
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 OptionAttributeArgs
impl Debug for OptionAttributeArgs
source§impl Hash for OptionAttributeArgs
impl Hash for OptionAttributeArgs
source§impl PartialEq<OptionAttributeArgs> for OptionAttributeArgs
impl PartialEq<OptionAttributeArgs> for OptionAttributeArgs
source§fn eq(&self, other: &OptionAttributeArgs) -> bool
fn eq(&self, other: &OptionAttributeArgs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TypedSyntaxNode for OptionAttributeArgs
impl TypedSyntaxNode for OptionAttributeArgs
source§const OPTIONAL_KIND: Option<SyntaxKind> = None
const OPTIONAL_KIND: Option<SyntaxKind> = None
The relevant SyntaxKind. None for enums.
type StablePtr = OptionAttributeArgsPtr
type Green = OptionAttributeArgsGreen
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 OptionAttributeArgs
impl StructuralEq for OptionAttributeArgs
impl StructuralPartialEq for OptionAttributeArgs
Auto Trait Implementations§
impl RefUnwindSafe for OptionAttributeArgs
impl Send for OptionAttributeArgs
impl Sync for OptionAttributeArgs
impl Unpin for OptionAttributeArgs
impl UnwindSafe for OptionAttributeArgs
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.