Enum cairo_lang_syntax::node::ast::TraitItem
source · pub enum TraitItem {
Function(TraitItemFunction),
}
Variants§
Function(TraitItemFunction)
Trait Implementations§
source§impl PartialEq<TraitItem> for TraitItem
impl PartialEq<TraitItem> for TraitItem
source§impl TypedSyntaxNode for TraitItem
impl TypedSyntaxNode for TraitItem
source§const OPTIONAL_KIND: Option<SyntaxKind> = None
const OPTIONAL_KIND: Option<SyntaxKind> = None
The relevant SyntaxKind. None for enums.
type StablePtr = TraitItemPtr
type Green = TraitItemGreen
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 TraitItem
impl StructuralEq for TraitItem
impl StructuralPartialEq for TraitItem
Auto Trait Implementations§
impl RefUnwindSafe for TraitItem
impl Send for TraitItem
impl Sync for TraitItem
impl Unpin for TraitItem
impl UnwindSafe for TraitItem
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.