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