Struct cairo_lang_syntax::node::ast::UnaryOperatorPtr
source · pub struct UnaryOperatorPtr(pub SyntaxStablePtrId);
Tuple Fields§
§0: SyntaxStablePtrId
Implementations§
source§impl UnaryOperatorPtr
impl UnaryOperatorPtr
pub fn untyped(&self) -> SyntaxStablePtrId
pub fn lookup(&self, db: &dyn SyntaxGroup) -> UnaryOperator
Trait Implementations§
source§impl Clone for UnaryOperatorPtr
impl Clone for UnaryOperatorPtr
source§fn clone(&self) -> UnaryOperatorPtr
fn clone(&self) -> UnaryOperatorPtr
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 UnaryOperatorPtr
impl Debug for UnaryOperatorPtr
source§impl From<TerminalAtPtr> for UnaryOperatorPtr
impl From<TerminalAtPtr> for UnaryOperatorPtr
source§fn from(value: TerminalAtPtr) -> Self
fn from(value: TerminalAtPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalBitNotPtr> for UnaryOperatorPtr
impl From<TerminalBitNotPtr> for UnaryOperatorPtr
source§fn from(value: TerminalBitNotPtr) -> Self
fn from(value: TerminalBitNotPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalMinusPtr> for UnaryOperatorPtr
impl From<TerminalMinusPtr> for UnaryOperatorPtr
source§fn from(value: TerminalMinusPtr) -> Self
fn from(value: TerminalMinusPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalMulPtr> for UnaryOperatorPtr
impl From<TerminalMulPtr> for UnaryOperatorPtr
source§fn from(value: TerminalMulPtr) -> Self
fn from(value: TerminalMulPtr) -> Self
Converts to this type from the input type.
source§impl From<TerminalNotPtr> for UnaryOperatorPtr
impl From<TerminalNotPtr> for UnaryOperatorPtr
source§fn from(value: TerminalNotPtr) -> Self
fn from(value: TerminalNotPtr) -> Self
Converts to this type from the input type.
source§impl Hash for UnaryOperatorPtr
impl Hash for UnaryOperatorPtr
source§impl PartialEq for UnaryOperatorPtr
impl PartialEq for UnaryOperatorPtr
source§fn eq(&self, other: &UnaryOperatorPtr) -> bool
fn eq(&self, other: &UnaryOperatorPtr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for UnaryOperatorPtr
impl Eq for UnaryOperatorPtr
impl StructuralEq for UnaryOperatorPtr
impl StructuralPartialEq for UnaryOperatorPtr
Auto Trait Implementations§
impl RefUnwindSafe for UnaryOperatorPtr
impl Send for UnaryOperatorPtr
impl Sync for UnaryOperatorPtr
impl Unpin for UnaryOperatorPtr
impl UnwindSafe for UnaryOperatorPtr
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.