Struct cairo_lang_syntax::node::ast::ExprUnaryPtr
source · pub struct ExprUnaryPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
source§impl ExprUnaryPtr
impl ExprUnaryPtr
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> ExprUnary
Trait Implementations§
source§impl Clone for ExprUnaryPtr
impl Clone for ExprUnaryPtr
source§fn clone(&self) -> ExprUnaryPtr
fn clone(&self) -> ExprUnaryPtr
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 ExprUnaryPtr
impl Debug for ExprUnaryPtr
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 Hash for ExprUnaryPtr
impl Hash for ExprUnaryPtr
source§impl PartialEq for ExprUnaryPtr
impl PartialEq for ExprUnaryPtr
source§fn eq(&self, other: &ExprUnaryPtr) -> bool
fn eq(&self, other: &ExprUnaryPtr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ExprUnaryPtr
impl Eq for ExprUnaryPtr
impl StructuralEq for ExprUnaryPtr
impl StructuralPartialEq for ExprUnaryPtr
Auto Trait Implementations§
impl RefUnwindSafe for ExprUnaryPtr
impl Send for ExprUnaryPtr
impl Sync for ExprUnaryPtr
impl Unpin for ExprUnaryPtr
impl UnwindSafe for ExprUnaryPtr
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
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.§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.