Struct cairo_lang_syntax::node::ast::StatementPtr   
source · pub struct StatementPtr(pub SyntaxStablePtrId);Tuple Fields§
§0: SyntaxStablePtrIdImplementations§
source§impl StatementPtr
 
impl StatementPtr
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> Statement
Trait Implementations§
source§impl Clone for StatementPtr
 
impl Clone for StatementPtr
source§fn clone(&self) -> StatementPtr
 
fn clone(&self) -> StatementPtr
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 StatementPtr
 
impl Debug for StatementPtr
source§impl From<StatementBreakPtr> for StatementPtr
 
impl From<StatementBreakPtr> for StatementPtr
source§fn from(value: StatementBreakPtr) -> Self
 
fn from(value: StatementBreakPtr) -> Self
Converts to this type from the input type.
source§impl From<StatementContinuePtr> for StatementPtr
 
impl From<StatementContinuePtr> for StatementPtr
source§fn from(value: StatementContinuePtr) -> Self
 
fn from(value: StatementContinuePtr) -> Self
Converts to this type from the input type.
source§impl From<StatementExprPtr> for StatementPtr
 
impl From<StatementExprPtr> for StatementPtr
source§fn from(value: StatementExprPtr) -> Self
 
fn from(value: StatementExprPtr) -> Self
Converts to this type from the input type.
source§impl From<StatementLetPtr> for StatementPtr
 
impl From<StatementLetPtr> for StatementPtr
source§fn from(value: StatementLetPtr) -> Self
 
fn from(value: StatementLetPtr) -> Self
Converts to this type from the input type.
source§impl From<StatementMissingPtr> for StatementPtr
 
impl From<StatementMissingPtr> for StatementPtr
source§fn from(value: StatementMissingPtr) -> Self
 
fn from(value: StatementMissingPtr) -> Self
Converts to this type from the input type.
source§impl From<StatementReturnPtr> for StatementPtr
 
impl From<StatementReturnPtr> for StatementPtr
source§fn from(value: StatementReturnPtr) -> Self
 
fn from(value: StatementReturnPtr) -> Self
Converts to this type from the input type.
source§impl Hash for StatementPtr
 
impl Hash for StatementPtr
source§impl PartialEq for StatementPtr
 
impl PartialEq for StatementPtr
source§fn eq(&self, other: &StatementPtr) -> bool
 
fn eq(&self, other: &StatementPtr) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl Copy for StatementPtr
impl Eq for StatementPtr
impl StructuralPartialEq for StatementPtr
Auto Trait Implementations§
impl RefUnwindSafe for StatementPtr
impl Send for StatementPtr
impl Sync for StatementPtr
impl Unpin for StatementPtr
impl UnwindSafe for StatementPtr
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
§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
§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 Q
 
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.