Struct cairo_lang_syntax::node::ast::ExprPtr
source · pub struct ExprPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
Trait Implementations§
source§impl From<ExprBinaryPtr> for ExprPtr
impl From<ExprBinaryPtr> for ExprPtr
source§fn from(value: ExprBinaryPtr) -> Self
fn from(value: ExprBinaryPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprBlockPtr> for ExprPtr
impl From<ExprBlockPtr> for ExprPtr
source§fn from(value: ExprBlockPtr) -> Self
fn from(value: ExprBlockPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprErrorPropagatePtr> for ExprPtr
impl From<ExprErrorPropagatePtr> for ExprPtr
source§fn from(value: ExprErrorPropagatePtr) -> Self
fn from(value: ExprErrorPropagatePtr) -> Self
Converts to this type from the input type.
source§impl From<ExprFieldInitShorthandPtr> for ExprPtr
impl From<ExprFieldInitShorthandPtr> for ExprPtr
source§fn from(value: ExprFieldInitShorthandPtr) -> Self
fn from(value: ExprFieldInitShorthandPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprFunctionCallPtr> for ExprPtr
impl From<ExprFunctionCallPtr> for ExprPtr
source§fn from(value: ExprFunctionCallPtr) -> Self
fn from(value: ExprFunctionCallPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprMatchPtr> for ExprPtr
impl From<ExprMatchPtr> for ExprPtr
source§fn from(value: ExprMatchPtr) -> Self
fn from(value: ExprMatchPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprMissingPtr> for ExprPtr
impl From<ExprMissingPtr> for ExprPtr
source§fn from(value: ExprMissingPtr) -> Self
fn from(value: ExprMissingPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprParenthesizedPtr> for ExprPtr
impl From<ExprParenthesizedPtr> for ExprPtr
source§fn from(value: ExprParenthesizedPtr) -> Self
fn from(value: ExprParenthesizedPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprPathPtr> for ExprPtr
impl From<ExprPathPtr> for ExprPtr
source§fn from(value: ExprPathPtr) -> Self
fn from(value: ExprPathPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprStructCtorCallPtr> for ExprPtr
impl From<ExprStructCtorCallPtr> for ExprPtr
source§fn from(value: ExprStructCtorCallPtr) -> Self
fn from(value: ExprStructCtorCallPtr) -> Self
Converts to this type from the input type.
source§impl From<ExprTuplePtr> for ExprPtr
impl From<ExprTuplePtr> for ExprPtr
source§fn from(value: ExprTuplePtr) -> Self
fn from(value: ExprTuplePtr) -> Self
Converts to this type from the input type.
source§impl From<ExprUnaryPtr> for ExprPtr
impl From<ExprUnaryPtr> for ExprPtr
source§fn from(value: ExprUnaryPtr) -> Self
fn from(value: ExprUnaryPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalFalsePtr> for ExprPtr
impl From<TerminalFalsePtr> for ExprPtr
source§fn from(value: TerminalFalsePtr) -> Self
fn from(value: TerminalFalsePtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalLiteralNumberPtr> for ExprPtr
impl From<TerminalLiteralNumberPtr> for ExprPtr
source§fn from(value: TerminalLiteralNumberPtr) -> Self
fn from(value: TerminalLiteralNumberPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalShortStringPtr> for ExprPtr
impl From<TerminalShortStringPtr> for ExprPtr
source§fn from(value: TerminalShortStringPtr) -> Self
fn from(value: TerminalShortStringPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalTruePtr> for ExprPtr
impl From<TerminalTruePtr> for ExprPtr
source§fn from(value: TerminalTruePtr) -> Self
fn from(value: TerminalTruePtr) -> Self
Converts to this type from the input type.
source§impl PartialEq<ExprPtr> for ExprPtr
impl PartialEq<ExprPtr> for ExprPtr
impl Copy for ExprPtr
impl Eq for ExprPtr
impl StructuralEq for ExprPtr
impl StructuralPartialEq for ExprPtr
Auto Trait Implementations§
impl RefUnwindSafe for ExprPtr
impl Send for ExprPtr
impl Sync for ExprPtr
impl Unpin for ExprPtr
impl UnwindSafe for ExprPtr
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.